Skip to content

Commit c549455

Browse files
Turbo87LawnGnome
andauthored
Update src/controllers/krate/delete.rs
Co-authored-by: Adam Harvey <[email protected]>
1 parent 8d77321 commit c549455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/krate/delete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ mod tests {
323323

324324
publish_crate(&user, "foo").await;
325325
let crate_id = adjust_creation_date(&mut conn, "foo", 73).await?;
326-
adjust_downloads(&mut conn, crate_id, 101).await?;
326+
adjust_downloads(&mut conn, crate_id, DOWNLOADS_PER_MONTH_LIMIT + 1).await?;
327327

328328
let response = delete_crate(&user, "foo").await;
329329
assert_eq!(response.status(), StatusCode::UNPROCESSABLE_ENTITY);

0 commit comments

Comments
 (0)