#48: fix the bug, whent account.current was requested without disabling refreshToken middleware

This commit is contained in:
SleepWalker
2016-11-08 08:30:53 +02:00
parent 0d8696b4f7
commit a2afac867a
7 changed files with 35 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ describe('authentication api', () => {
expect(authentication.validateToken(validTokens), 'to be fulfilled')
.then(() => {
expect(accounts.current, 'to have a call satisfying', [
{token: 'foo', autoRefreshToken: false}
{token: 'foo'}
]);
})
);