Skip to content

Commit

Permalink
Revert to original version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-François Morin committed Feb 22, 2024
1 parent 5f41bc2 commit 1c6216d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/menu.resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -38,7 +37,6 @@ describe('MenuResolver', () => {
let browseService;
let authorizationService;
let scriptService;
let configurationDataService;

beforeEach(waitForAsync(() => {
menuService = new MenuServiceStub();
Expand All @@ -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],
Expand All @@ -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*/
Expand Down

0 comments on commit 1c6216d

Please sign in to comment.