summaryrefslogtreecommitdiffhomepage
path: root/test/components/Account.spec.js
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-08-24 22:05:31 +0200
committerLinus Färnstrand <linus@mullvad.net>2017-08-24 22:05:31 +0200
commitdc3fdd74ee240227a23a5fd4e7ce45b17cfe7cbb (patch)
treed7353b3beba6ef6470b68c6077e60af11e39c927 /test/components/Account.spec.js
parentadc86a0de57367d0243a4f7dc08c87840f421b39 (diff)
parent81cc03093c05d54d79804595dd0354b1f878cdcd (diff)
downloadmullvadvpn-dc3fdd74ee240227a23a5fd4e7ce45b17cfe7cbb.tar.xz
mullvadvpn-dc3fdd74ee240227a23a5fd4e7ce45b17cfe7cbb.zip
Merge branch 'rename-to-expiry'
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
};