diff options
Diffstat (limited to 'tests/approve.rs')
| -rw-r--r-- | tests/approve.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/approve.rs b/tests/approve.rs index 6e0ac1b..7d014f8 100644 --- a/tests/approve.rs +++ b/tests/approve.rs @@ -108,7 +108,7 @@ fn a_broken_database_is_not_reported_as_a_stale_review() { fn bulk_refusals_are_their_own_reasons() { let (env, _fx) = env_with_fixture("plain-make"); let (c, dd) = open_review(&env, "plain-make"); - candidates::set_risk(&env.db, c.id, "high", &["new source host".into()]).unwrap(); + candidates::set_risk_for_tests(&env.db, c.id, "high", &["new source host".into()]).unwrap(); let items = [(c.id, c.identity_hash.clone(), dd.clone())]; let out = bulk(&env.db, "tester", &items, "approve", &[]).unwrap(); |
