mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
[DURACOM-191] fix admin-quality-assurance-events-page test
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { AdminQualityAssuranceEventsPageComponent } from './admin-quality-assurance-events-page.component';
|
||||
import { QualityAssuranceEventsComponent } from '../../../notifications/qa/events/quality-assurance-events.component';
|
||||
|
||||
describe('AdminQualityAssuranceEventsPageComponent', () => {
|
||||
let component: AdminQualityAssuranceEventsPageComponent;
|
||||
@@ -10,6 +11,11 @@ describe('AdminQualityAssuranceEventsPageComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [AdminQualityAssuranceEventsPageComponent],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
})
|
||||
.overrideComponent(AdminQualityAssuranceEventsPageComponent, {
|
||||
remove: {
|
||||
imports: [QualityAssuranceEventsComponent]
|
||||
}
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
Reference in New Issue
Block a user