test(workflows): opt into advertisement in lifecycle discovery regression

Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
This commit is contained in:
Brain
2026-09-13 10:27:01 -06:00
parent a30a30b8a7
commit 1d11034d68

View File

@@ -729,6 +729,7 @@ async fn nip11_workflow_contract_requires_bound_host_and_stable_identity() {
let mut f = Fixture::new().await;
// No stable key: no forward compatibility promise, even on a mapped host.
let state = Arc::get_mut(&mut f.state).expect("sole state owner");
Arc::make_mut(&mut state.config).advertise_workflow_lifecycle = true;
Arc::make_mut(&mut state.config).relay_private_key = None;
let info = crate::nip11::nip11_document(&f.state, f.tenant.host()).await;
assert!(info.workflows.is_none());