From 1c6216d40a0dd2cdb084be1d75ba1460d4bfd719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Morin?= Date: Thu, 22 Feb 2024 17:00:55 -0500 Subject: [PATCH] Revert to original version --- src/app/menu.resolver.spec.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/app/menu.resolver.spec.ts b/src/app/menu.resolver.spec.ts index 5bf40344d66..838d5a53c5b 100644 --- a/src/app/menu.resolver.spec.ts +++ b/src/app/menu.resolver.spec.ts @@ -19,7 +19,6 @@ import { cold } from 'jasmine-marbles'; import createSpy = jasmine.createSpy; import { createSuccessfulRemoteDataObject$ } from './shared/remote-data.utils'; import { createPaginatedList } from './shared/testing/utils.test'; -import { ConfigurationDataService } from './core/data/configuration-data.service'; const BOOLEAN = { t: true, f: false }; const MENU_STATE = { @@ -38,7 +37,6 @@ describe('MenuResolver', () => { let browseService; let authorizationService; let scriptService; - let configurationDataService; beforeEach(waitForAsync(() => { menuService = new MenuServiceStub(); @@ -54,9 +52,6 @@ describe('MenuResolver', () => { scriptService = jasmine.createSpyObj('scriptService', { scriptWithNameExistsAndCanExecute: observableOf(true) }); - configurationDataService = jasmine.createSpyObj('configurationDataService', { - scriptWithNameExistsAndCanExecute: observableOf(true) - }); TestBed.configureTestingModule({ imports: [TranslateModule.forRoot(), NoopAnimationsModule, RouterTestingModule], @@ -66,7 +61,6 @@ describe('MenuResolver', () => { { provide: BrowseService, useValue: browseService }, { provide: AuthorizationDataService, useValue: authorizationService }, { provide: ScriptDataService, useValue: scriptService }, - { provide: ConfigurationDataService, useValue: configurationDataService }, { provide: NgbModal, useValue: { open: () => {/*comment*/