Skip to content

Commit 7ab53f0

Browse files
committed
Fix test to pass after disable delete community
Change back after #697 is merge
1 parent 91ca64e commit 7ab53f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bot/bot.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ describe('Bot Initialization', () => {
310310
deleteOrders: sinon.stub().resolves(),
311311
calculateEarnings: sinon.stub().resolves(),
312312
attemptCommunitiesPendingPayments: sinon.stub().resolves(),
313-
deleteCommunity: sinon.stub().resolves(),
313+
// deleteCommunity: sinon.stub().resolves(),
314314
nodeInfo: sinon.stub().resolves(),
315315
},
316316
'./modules/community': { configure: sinon.stub() },
@@ -470,7 +470,7 @@ describe('Bot Initialization', () => {
470470

471471
scheduledFunction();
472472

473-
expect(scheduleStub.scheduleJob.callCount).to.be.equal(8);
473+
expect(scheduleStub.scheduleJob.callCount).to.be.equal(7);
474474
expect(scheduleStub.scheduleJob.getCall(0).args[0]).to.equal(
475475
'*/10 * * * *',
476476
);

0 commit comments

Comments
 (0)