Commits
Alessandro Martelli authored fa113babc76
10 10 | |
11 11 | describe('CollectionCurateComponent', () => { |
12 12 | let comp: CollectionCurateComponent; |
13 13 | let fixture: ComponentFixture<CollectionCurateComponent>; |
14 14 | let debugEl: DebugElement; |
15 15 | |
16 16 | let routeStub; |
17 17 | let dsoNameService; |
18 18 | |
19 19 | const collection = Object.assign(new Collection(), { |
20 - | handle: '123456789/1', metadata: {'dc.title': ['Collection Name']} |
20 + | metadata: {'dc.title': ['Collection Name'], 'dc.identifier.uri': [ { value: '123456789/1'}]} |
21 21 | }); |
22 22 | |
23 23 | beforeEach(async(() => { |
24 24 | routeStub = { |
25 25 | parent: { |
26 26 | data: observableOf({ |
27 27 | dso: createSuccessfulRemoteDataObject(collection) |
28 28 | }) |
29 29 | } |
30 30 | }; |