Skip to content

Commit 58512b6

Browse files
committed
[DURACOM-191] Fix test
1 parent 8409853 commit 58512b6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/app/admin/admin-notify-dashboard/admin-notify-logs/admin-notify-incoming/admin-notify-incoming.component.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-conf
1616
import { MockActivatedRoute } from '../../../../shared/mocks/active-router.mock';
1717
import { getMockRemoteDataBuildService } from '../../../../shared/mocks/remote-data-build.service.mock';
1818
import { routeServiceStub } from '../../../../shared/testing/route-service.stub';
19+
import { AdminNotifyLogsResultComponent } from '../admin-notify-logs-result/admin-notify-logs-result.component';
1920
import { AdminNotifyIncomingComponent } from './admin-notify-incoming.component';
2021

2122
describe('AdminNotifyIncomingComponent', () => {
@@ -48,6 +49,8 @@ describe('AdminNotifyIncomingComponent', () => {
4849
{ provide: APP_DATA_SERVICES_MAP, useValue: {} },
4950
provideMockStore({}),
5051
],
52+
}).overrideComponent(AdminNotifyIncomingComponent, {
53+
remove: { imports: [AdminNotifyLogsResultComponent] },
5154
})
5255
.compileComponents();
5356

0 commit comments

Comments
 (0)