mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#48: fix the bug, whent account.current was requested without disabling refreshToken middleware
This commit is contained in:
@@ -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'}
|
||||
]);
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user