@@ -288,7 +288,7 @@ describe('AuthService test', () => {
288288 ( state as any ) . core = Object . create ( { } ) ;
289289 ( state as any ) . core . auth = authenticatedState ;
290290 } ) ;
291- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
291+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
292292 } ) ) ;
293293
294294 it ( 'should return true when user is logged in' , ( ) => {
@@ -373,7 +373,7 @@ describe('AuthService test', () => {
373373 ( state as any ) . core = Object . create ( { } ) ;
374374 ( state as any ) . core . auth = authenticatedState ;
375375 } ) ;
376- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
376+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
377377 storage = ( authService as any ) . storage ;
378378 routeServiceMock = TestBed . inject ( RouteService ) ;
379379 routerStub = TestBed . inject ( Router ) ;
@@ -593,7 +593,7 @@ describe('AuthService test', () => {
593593 ( state as any ) . core = Object . create ( { } ) ;
594594 ( state as any ) . core . auth = unAuthenticatedState ;
595595 } ) ;
596- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
596+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
597597 } ) ) ;
598598
599599 it ( 'should return null for the shortlived token' , ( ) => {
@@ -633,7 +633,7 @@ describe('AuthService test', () => {
633633 ( state as any ) . core = Object . create ( { } ) ;
634634 ( state as any ) . core . auth = idleState ;
635635 } ) ;
636- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
636+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
637637 } ) ) ;
638638
639639 it ( 'isUserIdle should return true when user is not idle' , ( ) => {
0 commit comments