test(desktop): expect seeded permissionPolicy in access-override edit case

behaviorEntry now always seeds permissionPolicy (?? undefined); the
linked-instance edit-dialog test still asserted the pre-policy behavior
shape, so the added undefined key failed deep-equal. Mirror the sibling
quad-bearing test's expectation.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
Duncan
2026-08-25 13:52:21 -04:00
parent 8672302cb8
commit d4417a9742

View File

@@ -359,6 +359,10 @@ test("a linked instance overrides stale definition access in the edit dialog", (
respondTo: "allowlist",
respondToAllowlist: ["c".repeat(64)],
parallelism: 2,
// No definition-default policy on this persona, so the seed carries it as
// undefined alongside the other unset fields (JSON.stringify drops it on
// submit); the access override only rewrites respondTo/respondToAllowlist.
permissionPolicy: undefined,
});
});