diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/approve.rs | 2 | ||||
| -rw-r--r-- | tests/architecture-budget.json | 6 |
2 files changed, 4 insertions, 4 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(); diff --git a/tests/architecture-budget.json b/tests/architecture-budget.json index 969b945..ce8faef 100644 --- a/tests/architecture-budget.json +++ b/tests/architecture-budget.json @@ -96,7 +96,7 @@ "largest_file": "src/db/candidates.rs", "lines": 3731, "priv": 10, - "pub": 201, + "pub": 202, "test": 13 }, "error": { @@ -232,7 +232,7 @@ "test": 0 }, "review": { - "dead": 10, + "dead": 11, "deadonly": 6, "glob": 0, "largest": 295, @@ -240,7 +240,7 @@ "lines": 792, "priv": 0, "pub": 29, - "test": 4 + "test": 5 }, "sandbox": { "dead": 23, |
