mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
first part random test fix (#3376)
fixing random test executions first part
This commit is contained in:
@@ -57,6 +57,8 @@ describe('AuthGuardService BPM', () => {
|
||||
}));
|
||||
|
||||
it('if the alfresco js api is NOT logged in should trigger a redirect event', async(() => {
|
||||
appConfigService.config.loginRoute = 'login';
|
||||
|
||||
spyOn(routerService, 'navigate');
|
||||
spyOn(authService, 'isBpmLoggedIn').and.returnValue(false);
|
||||
const router: RouterStateSnapshot = <RouterStateSnapshot> {url : 'some-url'};
|
||||
|
Reference in New Issue
Block a user