Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaFomina committed Nov 10, 2024
1 parent caf75d0 commit 94c59b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/cases/billing/check.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ describe('Check webhook', () => {
const currentPlan = (await plans.insertOne({
name: 'CurrentTestPlan',
monthlyCharge: 10,
monthlyChargeCurrency: 'USD',
eventsLimit: 1000,
isDefault: false,
})).ops[0];
Expand All @@ -65,6 +66,7 @@ describe('Check webhook', () => {
planToChange = (await plans.insertOne({
name: 'BasicTest',
monthlyCharge: 20,
monthlyChargeCurrency: 'USD',
eventsLimit: 10000,
isDefault: false,
})).ops[0];
Expand Down
1 change: 1 addition & 0 deletions test/integration/cases/billing/fail.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const tariffPlan: PlanDBScheme = {
eventsLimit: 10000,
isDefault: true,
monthlyCharge: 100,
monthlyChargeCurrency: 'USD',
name: 'Test plan',
};

Expand Down
2 changes: 2 additions & 0 deletions test/integration/cases/billing/pay.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const currentPlan: PlanDBScheme = {
eventsLimit: 1000,
isDefault: true,
monthlyCharge: 1000,
monthlyChargeCurrency: 'USD',
name: 'Test plan',
};

Expand Down Expand Up @@ -62,6 +63,7 @@ const planToChange: PlanDBScheme = {
eventsLimit: 10000,
isDefault: true,
monthlyCharge: 100,
monthlyChargeCurrency: 'USD',
name: 'Test plan',
};

Expand Down
1 change: 1 addition & 0 deletions test/integration/cases/billing/recurrent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const currentPlan: PlanDBScheme = {
eventsLimit: 1000,
isDefault: true,
monthlyCharge: 1000,
monthlyChargeCurrency: 'USD',
name: 'Test plan',
};

Expand Down

0 comments on commit 94c59b1

Please sign in to comment.