mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fix CreateCollectionParentSelectorComponent tests
This commit is contained in:
@@ -8,6 +8,7 @@ import { Community } from '../../../../core/shared/community.model';
|
||||
import { CreateCollectionParentSelectorComponent } from './create-collection-parent-selector.component';
|
||||
import { MetadataValue } from '../../../../core/shared/metadata.models';
|
||||
import { createSuccessfulRemoteDataObject } from '../../../remote-data.utils';
|
||||
import { DSOSelectorComponent } from '../../dso-selector/dso-selector.component';
|
||||
|
||||
describe('CreateCollectionParentSelectorComponent', () => {
|
||||
let component: CreateCollectionParentSelectorComponent;
|
||||
@@ -50,7 +51,11 @@ describe('CreateCollectionParentSelectorComponent', () => {
|
||||
}
|
||||
],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
}).compileComponents();
|
||||
})
|
||||
.overrideComponent(CreateCollectionParentSelectorComponent, {
|
||||
remove: { imports: [DSOSelectorComponent]}
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user