Skip to content

Commit b732513

Browse files
committed
test(service-automation): give the activation-ledger api entry-path fixture its per-flow secret
The fixture pins the ledger-disabled refusal on the api entry path; an api flow now registers only with a config.secret (ADR-0041), so the fixture declares one. Claude-Session: https://claude.ai/code/session_017B6YKCGu8CTY2KBWgwaHAs Co-authored-by: Claude <noreply@anthropic.com>
1 parent d5c202d commit b732513

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/services/service-automation/src/flow-activation-ledger.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ describe('ADR-0126 §7.2 — a ledger-disabled flow refuses at the execute() sea
148148
['record-change', { objectName: 'lead', triggerType: 'record-after-create' }, 'record_change'],
149149
['schedule', { schedule: '0 9 * * *' }, 'schedule'],
150150
['time-relative', { timeRelative: { object: 'task', field: 'due_at' }, schedule: '0 * * * *' }, 'time_relative'],
151-
['api', { triggerType: 'api' }, 'api'],
151+
// An `api` flow registers only with its per-flow secret (ADR-0041).
152+
['api', { triggerType: 'api', secret: 'hook-secret' }, 'api'],
152153
];
153154

154155
for (const [label, startConfig, triggerKey] of entryPaths) {

0 commit comments

Comments
 (0)