mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
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:
@@ -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,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user