Skip to content

Commit 284271c

Browse files
committed
test(plugin-approvals): the actor battery covers the opening's forwarded person
Claude-Session: https://claude.ai/code/session_013j5gkUCpqQiti4GgPqqmnt Co-authored-by: Claude <noreply@anthropic.com>
1 parent 144354d commit 284271c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/plugins/plugin-approvals/src/actor-lookups-hold-ids.integration.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ describe('ADR-0118 D1 — every sys_user lookup approvals writes holds an id or
279279
expect(actorOf('approval.reminder')).toEqual(['u_sub']);
280280
expect(actorOf('approval.reassigned')).toEqual(['u_legal', 'u_alice']);
281281
expect(actorOf('approval.returned')).toEqual(['u_alice']);
282+
// The opening forwards the person whose run opened the step — never the
283+
// email slot the `link` request opened on.
284+
expect(actorOf('approval.requested')).toEqual(['u_sub']);
282285
});
283286

284287
it('each machine actor writes null, and its notifications name no actor', async () => {

0 commit comments

Comments
 (0)