summaryrefslogtreecommitdiffhomepage
path: root/test/logout.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/logout.spec.js
parentadc86a0de57367d0243a4f7dc08c87840f421b39 (diff)
parent81cc03093c05d54d79804595dd0354b1f878cdcd (diff)
downloadmullvadvpn-dc3fdd74ee240227a23a5fd4e7ce45b17cfe7cbb.tar.xz
mullvadvpn-dc3fdd74ee240227a23a5fd4e7ce45b17cfe7cbb.zip
Merge branch 'rename-to-expiry'
Diffstat (limited to 'test/logout.spec.js')
-rw-r--r--test/logout.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/logout.spec.js b/test/logout.spec.js
index f88df1bbc6..a5c8b29975 100644
--- a/test/logout.spec.js
+++ b/test/logout.spec.js
@@ -28,7 +28,7 @@ describe('logging out', () => {
const { store, backend, mockIpc } = setupBackendAndStore();
mockIpc.getAccountData = () => new Promise(r => r({
- paid_until: '2001-01-01T00:00:00',
+ expiry: '2001-01-01T00:00:00.000Z',
}));
const action: any = accountActions.login(backend, '123');
store.dispatch(action);
@@ -36,7 +36,7 @@ describe('logging out', () => {
const expectedLogoutState = {
status: 'none',
accountNumber: null,
- paidUntil: null,
+ expiry: null,
error: null,
};