Skip to content

Commit ec10971

Browse files
committed
test(gateway): prove hook account delivery handoff
1 parent f1720a2 commit ec10971

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/gateway/server/hooks.agent-trust.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ describe("dispatchAgentHook trust handling", () => {
172172
mode: "announce" as const,
173173
channel: "telegram" as const,
174174
to: "123456",
175+
accountId: "work",
175176
};
176177
runCronIsolatedAgentTurnMock.mockResolvedValueOnce({
177178
status: "ok",
@@ -184,6 +185,7 @@ describe("dispatchAgentHook trust handling", () => {
184185
deliver: true,
185186
channel: delivery.channel,
186187
to: delivery.to,
188+
accountId: delivery.accountId,
187189
delivery,
188190
});
189191

0 commit comments

Comments
 (0)