59415: Tests fix

This commit is contained in:
Kristof De Langhe
2019-02-13 13:34:21 +01:00
parent 371f2bcd85
commit 4bf94894b6
2 changed files with 12 additions and 2 deletions

View File

@@ -28,7 +28,12 @@ describe('BrowseByMetadataPageComponent', () => {
const mockCommunity = Object.assign(new Community(), { const mockCommunity = Object.assign(new Community(), {
id: 'test-uuid', id: 'test-uuid',
name: 'test community' metadata: [
{
key: 'dc.title',
value: 'test community'
}
]
}); });
const mockEntries = [ const mockEntries = [

View File

@@ -24,7 +24,12 @@ describe('BrowseByTitlePageComponent', () => {
const mockCommunity = Object.assign(new Community(), { const mockCommunity = Object.assign(new Community(), {
id: 'test-uuid', id: 'test-uuid',
name: 'test community' metadata: [
{
key: 'dc.title',
value: 'test community'
}
]
}); });
const mockItems = [ const mockItems = [