mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +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 { getMockRemoteDataBuildService } from '../../../../shared/mocks/remote-data-build.service.mock';
|
||||
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';
|
||||
|
||||
describe('AdminNotifyOutgoingComponent', () => {
|
||||
@@ -45,6 +46,9 @@ describe('AdminNotifyOutgoingComponent', () => {
|
||||
{ provide: RemoteDataBuildService, useValue: rdbService },
|
||||
provideMockStore({}),
|
||||
],
|
||||
})
|
||||
.overrideComponent(AdminNotifyOutgoingComponent, {
|
||||
remove: { imports: [AdminNotifyLogsResultComponent] },
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
|
@@ -28,6 +28,7 @@ import { JsonPatchOperationPathCombiner } from '../../../../core/json-patch/buil
|
||||
import { JsonPatchOperationsBuilder } from '../../../../core/json-patch/builder/json-patch-operations-builder';
|
||||
import { HALEndpointService } from '../../../../core/shared/hal-endpoint.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 { FormService } from '../../../../shared/form/form.service';
|
||||
import { getMockFormService } from '../../../../shared/mocks/form-service.mock';
|
||||
@@ -123,6 +124,7 @@ describe('SubmissionSectionUploadFileComponent test suite', () => {
|
||||
.overrideComponent(SubmissionSectionUploadFileComponent, {
|
||||
remove: { imports: [
|
||||
SubmissionSectionUploadFileViewComponent,
|
||||
ThemedFileDownloadLinkComponent,
|
||||
] },
|
||||
})
|
||||
.compileComponents().then();
|
||||
|
Reference in New Issue
Block a user