@@ -19,6 +19,7 @@ import { createSuccessfulRemoteDataObject$ } from './shared/remote-data.utils';
1919import { createPaginatedList } from './shared/testing/utils.test' ;
2020import { SectionDataService } from './core/layout/section-data.service' ;
2121import createSpy = jasmine . createSpy ;
22+ import { ConfigurationDataService } from './core/data/configuration-data.service' ;
2223
2324const BOOLEAN = { t : true , f : false } ;
2425const MENU_STATE = {
@@ -61,13 +62,14 @@ const ALL_NESTED_MENUS = [
6162] ;
6263const NO_MENUS = [ ] ;
6364
64- describe ( 'MenuResolver' , ( ) => {
65+ fdescribe ( 'MenuResolver' , ( ) => {
6566 let resolver : MenuResolver ;
6667
6768 let menuService ;
6869 let sectionsService ;
6970 let authorizationService ;
7071 let scriptService ;
72+ let configService ;
7173
7274 beforeEach ( waitForAsync ( ( ) => {
7375 menuService = new MenuServiceStub ( ) ;
@@ -83,6 +85,9 @@ describe('MenuResolver', () => {
8385 scriptService = jasmine . createSpyObj ( 'scriptService' , {
8486 scriptWithNameExistsAndCanExecute : observableOf ( true )
8587 } ) ;
88+ configService = jasmine . createSpyObj ( 'ConfigurationDataService' , {
89+ findByPropertyName : observableOf ( { } )
90+ } ) ;
8691
8792 TestBed . configureTestingModule ( {
8893 imports : [ TranslateModule . forRoot ( ) , NoopAnimationsModule , RouterTestingModule ] ,
@@ -92,6 +97,7 @@ describe('MenuResolver', () => {
9297 { provide : SectionDataService , useValue : sectionsService } ,
9398 { provide : AuthorizationDataService , useValue : authorizationService } ,
9499 { provide : ScriptDataService , useValue : scriptService } ,
100+ { provide : ConfigurationDataService , useValue : configService } ,
95101 {
96102 provide : NgbModal , useValue : {
97103 open : ( ) => { /*comment*/
0 commit comments