mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-191] fix some tests
This commit is contained in:
@@ -15,6 +15,7 @@ import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-conf
|
|||||||
import { MockActivatedRoute } from '../../../../shared/mocks/active-router.mock';
|
import { MockActivatedRoute } from '../../../../shared/mocks/active-router.mock';
|
||||||
import { getMockRemoteDataBuildService } from '../../../../shared/mocks/remote-data-build.service.mock';
|
import { getMockRemoteDataBuildService } from '../../../../shared/mocks/remote-data-build.service.mock';
|
||||||
import { routeServiceStub } from '../../../../shared/testing/route-service.stub';
|
import { routeServiceStub } from '../../../../shared/testing/route-service.stub';
|
||||||
|
import { AdminNotifyLogsResultComponent } from '../admin-notify-logs-result/admin-notify-logs-result.component';
|
||||||
import { AdminNotifyOutgoingComponent } from './admin-notify-outgoing.component';
|
import { AdminNotifyOutgoingComponent } from './admin-notify-outgoing.component';
|
||||||
|
|
||||||
describe('AdminNotifyOutgoingComponent', () => {
|
describe('AdminNotifyOutgoingComponent', () => {
|
||||||
@@ -46,6 +47,9 @@ describe('AdminNotifyOutgoingComponent', () => {
|
|||||||
provideMockStore({}),
|
provideMockStore({}),
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
.overrideComponent(AdminNotifyOutgoingComponent, {
|
||||||
|
remove: { imports: [AdminNotifyLogsResultComponent] },
|
||||||
|
})
|
||||||
.compileComponents();
|
.compileComponents();
|
||||||
|
|
||||||
fixture = TestBed.createComponent(AdminNotifyOutgoingComponent);
|
fixture = TestBed.createComponent(AdminNotifyOutgoingComponent);
|
||||||
|
@@ -28,6 +28,7 @@ import { JsonPatchOperationPathCombiner } from '../../../../core/json-patch/buil
|
|||||||
import { JsonPatchOperationsBuilder } from '../../../../core/json-patch/builder/json-patch-operations-builder';
|
import { JsonPatchOperationsBuilder } from '../../../../core/json-patch/builder/json-patch-operations-builder';
|
||||||
import { HALEndpointService } from '../../../../core/shared/hal-endpoint.service';
|
import { HALEndpointService } from '../../../../core/shared/hal-endpoint.service';
|
||||||
import { SubmissionJsonPatchOperationsService } from '../../../../core/submission/submission-json-patch-operations.service';
|
import { SubmissionJsonPatchOperationsService } from '../../../../core/submission/submission-json-patch-operations.service';
|
||||||
|
import { ThemedFileDownloadLinkComponent } from '../../../../shared/file-download-link/themed-file-download-link.component';
|
||||||
import { FormBuilderService } from '../../../../shared/form/builder/form-builder.service';
|
import { FormBuilderService } from '../../../../shared/form/builder/form-builder.service';
|
||||||
import { FormService } from '../../../../shared/form/form.service';
|
import { FormService } from '../../../../shared/form/form.service';
|
||||||
import { getMockFormService } from '../../../../shared/mocks/form-service.mock';
|
import { getMockFormService } from '../../../../shared/mocks/form-service.mock';
|
||||||
@@ -123,6 +124,7 @@ describe('SubmissionSectionUploadFileComponent test suite', () => {
|
|||||||
.overrideComponent(SubmissionSectionUploadFileComponent, {
|
.overrideComponent(SubmissionSectionUploadFileComponent, {
|
||||||
remove: { imports: [
|
remove: { imports: [
|
||||||
SubmissionSectionUploadFileViewComponent,
|
SubmissionSectionUploadFileViewComponent,
|
||||||
|
ThemedFileDownloadLinkComponent,
|
||||||
] },
|
] },
|
||||||
})
|
})
|
||||||
.compileComponents().then();
|
.compileComponents().then();
|
||||||
|
Reference in New Issue
Block a user