mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
122839: Fix vocabulary-treeview component tests
This commit is contained in:
@@ -22,6 +22,7 @@ import { authReducer } from '../../../core/auth/auth.reducer';
|
||||
import { storeModuleConfig } from '../../../app.reducer';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { VocabularyService } from '../../../core/submission/vocabularies/vocabulary.service';
|
||||
import { createSuccessfulRemoteDataObject$ } from '../../remote-data.utils';
|
||||
|
||||
describe('VocabularyTreeviewComponent test suite', () => {
|
||||
|
||||
@@ -56,7 +57,8 @@ describe('VocabularyTreeviewComponent test suite', () => {
|
||||
findEntryDetailById: jasmine.createSpy('findEntryDetailById'),
|
||||
searchTopEntries: jasmine.createSpy('searchTopEntries'),
|
||||
getEntryDetailChildren: jasmine.createSpy('getEntryDetailChildren'),
|
||||
clearSearchTopRequests: jasmine.createSpy('clearSearchTopRequests')
|
||||
clearSearchTopRequests: jasmine.createSpy('clearSearchTopRequests'),
|
||||
findVocabularyById: createSuccessfulRemoteDataObject$({ preloadLevel: 2 }),
|
||||
});
|
||||
|
||||
initialState = {
|
||||
|
Reference in New Issue
Block a user