diff --git a/crates/tinysecurity-module/src/adapter_tests.rs b/crates/tinysecurity-module/src/adapter_tests.rs index be2a5b5..466394a 100644 --- a/crates/tinysecurity-module/src/adapter_tests.rs +++ b/crates/tinysecurity-module/src/adapter_tests.rs @@ -1622,11 +1622,11 @@ async fn native_open_public_policy_and_credentials_only_redaction_dispatch() Ok(()) } -/// A host that runs TinySecurity as its secret authority makes audit required, +/// A host that runs `TinySecurity` as its secret authority makes audit required, /// and the browser dial members carry no audit correlation. They must still /// authorize, consume and validate: refusing them refused every browser /// navigation ("required audit needs bound permission", seen as Chrome's -/// ERR_TUNNEL_CONNECTION_FAILED on every page). +/// `ERR_TUNNEL_CONNECTION_FAILED` on every page). #[tokio::test] async fn browser_dials_are_authorized_when_audit_is_required() -> std::result::Result<(), Box> { @@ -1662,7 +1662,9 @@ async fn browser_dials_are_authorized_when_audit_is_required() Some(Arc::new(audit)), ); assert!(service.audit_required()); - server.serve_at(names::OBJECT_PATH.try_into()?, service).await?; + server + .serve_at(names::OBJECT_PATH.try_into()?, service) + .await?; server.request_name(names::INTERFACE).await?; let client = Connection::connect(bus.connect().await?).await?; let proxy = client.proxy(names::INTERFACE, names::OBJECT_PATH, names::INTERFACE)?;