Skip to content

Commit 94c59b1

Browse files
committed
Update tests
1 parent caf75d0 commit 94c59b1

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

test/integration/cases/billing/check.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ describe('Check webhook', () => {
4040
const currentPlan = (await plans.insertOne({
4141
name: 'CurrentTestPlan',
4242
monthlyCharge: 10,
43+
monthlyChargeCurrency: 'USD',
4344
eventsLimit: 1000,
4445
isDefault: false,
4546
})).ops[0];
@@ -65,6 +66,7 @@ describe('Check webhook', () => {
6566
planToChange = (await plans.insertOne({
6667
name: 'BasicTest',
6768
monthlyCharge: 20,
69+
monthlyChargeCurrency: 'USD',
6870
eventsLimit: 10000,
6971
isDefault: false,
7072
})).ops[0];

test/integration/cases/billing/fail.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const tariffPlan: PlanDBScheme = {
4444
eventsLimit: 10000,
4545
isDefault: true,
4646
monthlyCharge: 100,
47+
monthlyChargeCurrency: 'USD',
4748
name: 'Test plan',
4849
};
4950

test/integration/cases/billing/pay.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const currentPlan: PlanDBScheme = {
2727
eventsLimit: 1000,
2828
isDefault: true,
2929
monthlyCharge: 1000,
30+
monthlyChargeCurrency: 'USD',
3031
name: 'Test plan',
3132
};
3233

@@ -62,6 +63,7 @@ const planToChange: PlanDBScheme = {
6263
eventsLimit: 10000,
6364
isDefault: true,
6465
monthlyCharge: 100,
66+
monthlyChargeCurrency: 'USD',
6567
name: 'Test plan',
6668
};
6769

test/integration/cases/billing/recurrent.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const currentPlan: PlanDBScheme = {
99
eventsLimit: 1000,
1010
isDefault: true,
1111
monthlyCharge: 1000,
12+
monthlyChargeCurrency: 'USD',
1213
name: 'Test plan',
1314
};
1415

0 commit comments

Comments
 (0)