Skip to content

Commit f6bd62b

Browse files
committed
unit test fix
1 parent 28cc522 commit f6bd62b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/backend-api/src/__tests__/templates/api/count-routing-configs.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('CountRoutingConfigs handler', () => {
8181
});
8282

8383
expect(mocks.routingConfigClient.countRoutingConfigs).toHaveBeenCalledWith(
84-
'nhs-notify-client-id',
84+
{ userId: 'sub', clientId: 'nhs-notify-client-id' },
8585
{ status: 'DRAFT' }
8686
);
8787
});
@@ -110,7 +110,7 @@ describe('CountRoutingConfigs handler', () => {
110110
});
111111

112112
expect(mocks.routingConfigClient.countRoutingConfigs).toHaveBeenCalledWith(
113-
'nhs-notify-client-id',
113+
{ userId: 'sub', clientId: 'nhs-notify-client-id' },
114114
{ status: 'COMPLETED' }
115115
);
116116
});

0 commit comments

Comments
 (0)