@@ -9,6 +9,8 @@ import { NotificationsServiceStub } from '../../shared/testing/notifications-ser
99import { AuthService } from '../../core/auth/auth.service' ;
1010import { NotificationsService } from '../../shared/notifications/notifications.service' ;
1111import { of } from 'rxjs' ;
12+ import { KlaroServiceStub } from '../../shared/cookies/klaro.service.stub' ;
13+ import { KlaroService } from '../../shared/cookies/klaro.service' ;
1214
1315
1416describe ( 'AccessibilitySettingsComponent' , ( ) => {
@@ -18,11 +20,13 @@ describe('AccessibilitySettingsComponent', () => {
1820 let authService : AuthServiceStub ;
1921 let settingsService : AccessibilitySettingsService ;
2022 let notificationsService : NotificationsServiceStub ;
23+ let klaroService : KlaroServiceStub ;
2124
2225 beforeEach ( waitForAsync ( ( ) => {
2326 authService = new AuthServiceStub ( ) ;
2427 settingsService = getAccessibilitySettingsServiceStub ( ) ;
2528 notificationsService = new NotificationsServiceStub ( ) ;
29+ klaroService = new KlaroServiceStub ( ) ;
2630
2731 TestBed . configureTestingModule ( {
2832 imports : [ TranslateModule . forRoot ( ) ] ,
@@ -31,6 +35,7 @@ describe('AccessibilitySettingsComponent', () => {
3135 { provide : AuthService , useValue : authService } ,
3236 { provide : AccessibilitySettingsService , useValue : settingsService } ,
3337 { provide : NotificationsService , useValue : notificationsService } ,
38+ { provide : KlaroService , useValue : klaroService } ,
3439 ] ,
3540 schemas : [ NO_ERRORS_SCHEMA ] ,
3641 } ) . compileComponents ( ) ;
0 commit comments