Skip to content

Commit ef29dc2

Browse files
committed
test: fix tests
1 parent 6ddf4b2 commit ef29dc2

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

tests/backend/getAllowedFrequencies.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function mockSubscription(frequency = '1m') {
1515
is_active: false,
1616
next_transaction_date: '2014-05-01T00:00:00-0700',
1717
past_due_amount: 0,
18+
payment_type: 'plastic' as const,
1819
start_date: '2010-09-15T00:00:00-0700',
1920
third_party_id: '',
2021
};

tests/backend/getNextTransactionDateConstraints.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const sampleData = {
1010
is_active: false,
1111
next_transaction_date: '2014-05-01T00:00:00-0700',
1212
past_due_amount: 0,
13+
payment_type: 'plastic' as const,
1314
start_date: '2010-09-15T00:00:00-0700',
1415
third_party_id: '',
1516
};

tests/backend/isNextTransactionDate.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function mockSubscription(frequency = '1m') {
1515
is_active: false,
1616
next_transaction_date: '2014-05-01T00:00:00-0700',
1717
past_due_amount: 0,
18+
payment_type: 'plastic' as const,
1819
start_date: '2010-09-15T00:00:00-0700',
1920
third_party_id: '',
2021
};

tests/customer/getAllowedFrequencies.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function mockSubscription(frequency = '1m') {
1515
is_active: false,
1616
next_transaction_date: '2014-05-01T00:00:00-0700',
1717
past_due_amount: 0,
18+
payment_type: 'plastic' as const,
1819
start_date: '2010-09-15T00:00:00-0700',
1920
third_party_id: '',
2021
};

tests/customer/getNextTransactionDateConstraints.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const sampleData = {
1010
is_active: false,
1111
next_transaction_date: '2014-05-01T00:00:00-0700',
1212
past_due_amount: 0,
13+
payment_type: 'plastic' as const,
1314
start_date: '2010-09-15T00:00:00-0700',
1415
third_party_id: '',
1516
};

tests/customer/isNextTransactionDate.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function mockSubscription(frequency = '1m') {
1515
is_active: false,
1616
next_transaction_date: '2014-05-01T00:00:00-0700',
1717
past_due_amount: 0,
18+
payment_type: 'plastic' as const,
1819
start_date: '2010-09-15T00:00:00-0700',
1920
third_party_id: '',
2021
};

0 commit comments

Comments
 (0)