Skip to content

Commit 1ef5ccc

Browse files
test(sendTelegramCampaign): update unit tests to include allowDeposit parameter
1 parent 4cebd89 commit 1ef5ccc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/sendTelegramCampaign.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ describe('sendTelegramCampaign', () => {
6767
expect(mockDataprotector.processBulkRequest).toHaveBeenCalledWith({
6868
bulkRequest: mockCampaignRequest,
6969
workerpool: defaultConfig.prodWorkerpoolAddress,
70+
allowDeposit: false,
7071
});
7172
expect(result).toEqual(mockResponse);
7273
expect('tasks' in result).toBe(true);
@@ -171,6 +172,7 @@ describe('sendTelegramCampaign', () => {
171172
expect(mockDataprotector.processBulkRequest).toHaveBeenCalledWith({
172173
bulkRequest: mockCampaignRequest,
173174
workerpool: defaultConfig.prodWorkerpoolAddress,
175+
allowDeposit: false,
174176
});
175177
});
176178

0 commit comments

Comments
 (0)