summaryrefslogtreecommitdiffhomepage
path: root/test/components/Account.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/components/Account.spec.js')
-rw-r--r--test/components/Account.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/components/Account.spec.js b/test/components/Account.spec.js
index 4372ac957e..6ebd4785e2 100644
--- a/test/components/Account.spec.js
+++ b/test/components/Account.spec.js
@@ -11,7 +11,7 @@ import type { AccountProps } from '../../app/components/Account';
describe('components/Account', () => {
const state: AccountReduxState = {
accountNumber: '1234',
- paidUntil: (new Date('2038-01-01')).toISOString(),
+ expiry: (new Date('2038-01-01')).toISOString(),
status: 'none',
error: null
};
@@ -59,7 +59,7 @@ describe('components/Account', () => {
it('should display "out of time" message when account expired', () => {
const expiredState: AccountReduxState = {
accountNumber: '1234',
- paidUntil: (new Date('2001-01-01')).toISOString(),
+ expiry: (new Date('2001-01-01')).toISOString(),
status: 'none',
error: null
};