We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d77321 commit c549455Copy full SHA for c549455
src/controllers/krate/delete.rs
@@ -323,7 +323,7 @@ mod tests {
323
324
publish_crate(&user, "foo").await;
325
let crate_id = adjust_creation_date(&mut conn, "foo", 73).await?;
326
- adjust_downloads(&mut conn, crate_id, 101).await?;
+ adjust_downloads(&mut conn, crate_id, DOWNLOADS_PER_MONTH_LIMIT + 1).await?;
327
328
let response = delete_crate(&user, "foo").await;
329
assert_eq!(response.status(), StatusCode::UNPROCESSABLE_ENTITY);
0 commit comments