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 f26e98b commit 8d77321Copy full SHA for 8d77321
src/controllers/krate/delete.rs
@@ -147,7 +147,7 @@ mod tests {
147
let crate_id = adjust_creation_date(&mut conn, "foo", 71).await?;
148
149
// 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?;
+ adjust_downloads(&mut conn, crate_id, DOWNLOADS_PER_MONTH_LIMIT * 100).await?;
151
152
assert_crate_exists(&anon, "foo", true).await;
153
assert!(upstream.crate_exists("foo")?);
0 commit comments