Skip to content

Commit 7e522b0

Browse files
authored
Fix unit test case failure.
1 parent b165411 commit 7e522b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/auth/auth.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ describe('AuthService test', () => {
315315
beforeEach(() => {
316316
mockStore = TestBed.inject(MockStore);
317317
authService = TestBed.inject(AuthService);
318-
mockStore.overrideSelector(isAuthenticated, true);
319318
mockStore.overrideSelector(getAuthenticationToken, token);
319+
mockStore.overrideSelector(isAuthenticated, true);
320320
mockStore.refreshState();
321321
storage = (authService as any).storage;
322322
storage.get = jasmine.createSpy().and.returnValue(null);

0 commit comments

Comments
 (0)