68346: Tests fixes

This commit is contained in:
Kristof De Langhe
2020-03-06 11:08:56 +01:00
parent cb21cd47bb
commit 4bbbc93f6c
9 changed files with 55 additions and 21 deletions

View File

@@ -17,6 +17,7 @@ import { CollectionSearchResult } from '../../../object-collection/shared/collec
import { TruncatableService } from '../../../truncatable/truncatable.service';
import { TruncatePipe } from '../../../utils/truncate.pipe';
import { CollectionSearchResultGridElementComponent } from './collection-search-result-grid-element.component';
import { BitstreamFormatDataService } from '../../../../core/data/bitstream-format-data.service';
let collectionSearchResultGridElementComponent: CollectionSearchResultGridElementComponent;
let fixture: ComponentFixture<CollectionSearchResultGridElementComponent>;
@@ -68,6 +69,7 @@ describe('CollectionSearchResultGridElementComponent', () => {
{ provide: HttpClient, useValue: {} },
{ provide: DSOChangeAnalyzer, useValue: {} },
{ provide: DefaultChangeAnalyzer, useValue: {} },
{ provide: BitstreamFormatDataService, useValue: {} },
],
schemas: [ NO_ERRORS_SCHEMA ]

View File

@@ -17,6 +17,7 @@ import { CommunitySearchResult } from '../../../object-collection/shared/communi
import { TruncatableService } from '../../../truncatable/truncatable.service';
import { TruncatePipe } from '../../../utils/truncate.pipe';
import { CommunitySearchResultGridElementComponent } from './community-search-result-grid-element.component';
import { BitstreamFormatDataService } from '../../../../core/data/bitstream-format-data.service';
let communitySearchResultGridElementComponent: CommunitySearchResultGridElementComponent;
let fixture: ComponentFixture<CommunitySearchResultGridElementComponent>;
@@ -68,6 +69,7 @@ describe('CommunitySearchResultGridElementComponent', () => {
{ provide: HttpClient, useValue: {} },
{ provide: DSOChangeAnalyzer, useValue: {} },
{ provide: DefaultChangeAnalyzer, useValue: {} },
{ provide: BitstreamFormatDataService, useValue: {} },
],
schemas: [ NO_ERRORS_SCHEMA ]