Commits
lotte authored b554d40e9ca
76 76 | url: urlWithParam, |
77 77 | navigateByUrl: {}, |
78 78 | navigate: {} |
79 79 | }); |
80 80 | const searchConfigServiceStub = { |
81 81 | paginatedSearchOptions: mockSearchOptions |
82 82 | }; |
83 83 | const itemDataServiceStub = { |
84 84 | mapToCollection: () => of(new RestResponse(true, 200, 'OK')) |
85 85 | }; |
86 - | const activatedRouteStub = new ActivatedRouteStub({}, { collection: mockCollectionRD }); |
86 + | const activatedRouteStub = new ActivatedRouteStub({}, { dso: mockCollectionRD }); |
87 87 | const translateServiceStub = { |
88 88 | get: () => of('test-message of collection ' + mockCollection.name), |
89 89 | onLangChange: new EventEmitter(), |
90 90 | onTranslationChange: new EventEmitter(), |
91 91 | onDefaultLangChange: new EventEmitter() |
92 92 | }; |
93 93 | const emptyList = new RemoteData(false, false, true, null, new PaginatedList(new PageInfo(), [])); |
94 94 | const searchServiceStub = Object.assign(new SearchServiceStub(), { |
95 95 | search: () => of(emptyList), |
96 96 | /* tslint:disable:no-empty */ |