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