Skip to content

Commit 45a8dce

Browse files
committed
Update index.test.ts
1 parent 199a98d commit 45a8dce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

workers/paymaster/tests/index.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ describe('PaymasterWorker', () => {
282282
const workspace = createWorkspaceMock({
283283
plan,
284284
billingPeriodEventsCount: 10,
285-
// any date is good. lets say 14 days before blocked date
286-
lastChargeDate: new Date(blockedDate.getTime() - 31 * 24 * 60 * 60 * 1000),
285+
lastChargeDate: lastChargeDate,
287286
subscriptionId: 'some-subscription-id',
288287
isBlocked: true,
289288
blockedDate,

0 commit comments

Comments
 (0)