Skip to content

Commit cfee0ff

Browse files
committed
Update AuthenticationAdaptersV2.spec.js
1 parent 5c7909f commit cfee0ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/AuthenticationAdaptersV2.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,9 @@ describe('Auth Adapter features', () => {
354354
await user.fetch({ sessionToken: user.getSessionToken() });
355355
const authData = user.get('authData').modernAdapter3;
356356
expect(authData).toEqual({ foo: 'bar' });
357+
user._objCount = 3;
357358
expect(afterSpy).toHaveBeenCalledWith(
358-
{ ip: '127.0.0.1', user: undefined, master: true },
359+
{ ip: '127.0.0.1', user, master: false },
359360
{ id: 'modernAdapter3Data' },
360361
undefined
361362
);

0 commit comments

Comments
 (0)