Skip to content

Commit 8d77321

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

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
@@ -147,7 +147,7 @@ mod tests {
147147
let crate_id = adjust_creation_date(&mut conn, "foo", 71).await?;
148148

149149
// Update downloads count so that it wouldn't be deletable if it wasn't new
150-
adjust_downloads(&mut conn, crate_id, 10_000).await?;
150+
adjust_downloads(&mut conn, crate_id, DOWNLOADS_PER_MONTH_LIMIT * 100).await?;
151151

152152
assert_crate_exists(&anon, "foo", true).await;
153153
assert!(upstream.crate_exists("foo")?);

0 commit comments

Comments
 (0)