[ACS-8770] fix unit test after auth refactor

This commit is contained in:
Anton Ramanovich
2025-06-11 23:10:10 +02:00
parent be92d6632f
commit 67b6a8d043

View File

@@ -95,7 +95,7 @@ describe('AuthGuardService BPM', () => {
});
it('if the alfresco js api is logged in should canActivate be true', async () => {
spyOn(authService, 'isBpmLoggedIn').and.returnValue(true);
spyOn(authService, 'isLoggedIn').and.returnValue(true);
authGuard = TestBed.runInInjectionContext(() => AuthGuardBpm(route, state)) as Promise<boolean>;
expect(await authGuard).toBeTruthy();