diff --git a/test/integration/whole-mesh-full.test.ts b/test/integration/whole-mesh-full.test.ts index 2d7e75f..6dfef61 100644 --- a/test/integration/whole-mesh-full.test.ts +++ b/test/integration/whole-mesh-full.test.ts @@ -802,7 +802,7 @@ test("the full mesh forms across the access point and both server sets converge" const broker = await ensureAdded(name); // Issued when the module holds a broker account or an own-secret the mesh mints for it // (step-ca's password, ADR 0098); a requirement kept in the vault needs no issue. - if (broker || /"secrets":\s*\[/.test(loadManifest(name).manifest)) await mesh(`module issue ${name} --node ${node}`); + if (broker || loadManifest(name).manifest.includes('"own-secrets"')) await mesh(`module issue ${name} --node ${node}`); await mesh(`assign ${node} ${name}`); assigned[node]!.add(name); } catch (err) {