diff --git a/crates/didbot-pds/tests/policy_end_to_end.rs b/crates/didbot-pds/tests/policy_end_to_end.rs index e69a3b98..35e3c4e8 100644 --- a/crates/didbot-pds/tests/policy_end_to_end.rs +++ b/crates/didbot-pds/tests/policy_end_to_end.rs @@ -646,20 +646,15 @@ fn a_policy_freeze_is_traceable_from_the_ledger_to_the_evaluation_log() { let sink = Arc::new(MemorySink::new()); let log = Arc::new(EvaluationLog::new(sink.clone())); let gate = Arc::new( - TreePolicyGate::new(tree_that_freezes_every_other_record()).with_evaluation_log(log.clone()), + TreePolicyGate::new(tree_that_freezes_every_other_record()) + .with_evaluation_log(log.clone()), ); let pds = provisioner_with_gate(gate); let did = agent(&pds); let body = other("state machine test"); let error = pds - .put_record( - &did, - OTHER, - None, - body, - &didbot_pds::Swap::default(), - ) + .put_record(&did, OTHER, None, body, &didbot_pds::Swap::default()) .expect_err("the frozen-tripping policy should refuse this write"); assert!(matches!(error, ProvisionError::PolicyFrozen { .. })); diff --git a/crates/didbot-tls/tests/support/mod.rs b/crates/didbot-tls/tests/support/mod.rs index a34f64a9..f0593b4e 100644 --- a/crates/didbot-tls/tests/support/mod.rs +++ b/crates/didbot-tls/tests/support/mod.rs @@ -173,6 +173,7 @@ impl FakeAcmeServer { /// the number of times a caller actually went to the CA for a /// certificate, which is what tells "loaded what was on disk" from /// "ordered a new one" apart. + #[allow(dead_code)] pub fn orders_placed(&self) -> usize { self.inner.state.lock().unwrap().orders.len() }