Skip to content

Commit 1b6b70c

Browse files
committed
test(daemon): assert typed system ownership diagnostics
1 parent 0ed777c commit 1b6b70c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/daemon/systemd-system.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe("system systemd ownership", () => {
129129

130130
expect(capability).toEqual({
131131
kind,
132-
detail: `System service ${unitName} requires its privileged deployment owner.`,
132+
reason: kind === "sealed" ? "system-owned" : "system-ownership-unverified",
133133
});
134134
expect(JSON.stringify(capability)).not.toContain("manager-secret-canary");
135135
// Denial permits only system ownership probes, never user-manager or artifact reads.

0 commit comments

Comments
 (0)