@@ -260,7 +260,7 @@ describe('AuthService test', () => {
260260 ( state as any ) . core = Object . create ( { } ) ;
261261 ( state as any ) . core . auth = authenticatedState ;
262262 } ) ;
263- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
263+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
264264 } ) ) ;
265265
266266 it ( 'should return true when user is logged in' , ( ) => {
@@ -345,7 +345,7 @@ describe('AuthService test', () => {
345345 ( state as any ) . core = Object . create ( { } ) ;
346346 ( state as any ) . core . auth = authenticatedState ;
347347 } ) ;
348- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
348+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
349349 storage = ( authService as any ) . storage ;
350350 routeServiceMock = TestBed . inject ( RouteService ) ;
351351 routerStub = TestBed . inject ( Router ) ;
@@ -565,7 +565,7 @@ describe('AuthService test', () => {
565565 ( state as any ) . core = Object . create ( { } ) ;
566566 ( state as any ) . core . auth = unAuthenticatedState ;
567567 } ) ;
568- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
568+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
569569 } ) ) ;
570570
571571 it ( 'should return null for the shortlived token' , ( ) => {
@@ -605,7 +605,7 @@ describe('AuthService test', () => {
605605 ( state as any ) . core = Object . create ( { } ) ;
606606 ( state as any ) . core . auth = idleState ;
607607 } ) ;
608- authService = new AuthService ( { } , window , undefined , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
608+ authService = new AuthService ( window , authReqService , mockEpersonDataService , router , routeService , cookieService , store , hardRedirectService , notificationsService , translateService ) ;
609609 } ) ) ;
610610
611611 it ( 'isUserIdle should return true when user is not idle' , ( ) => {
0 commit comments