mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fixed unit test
This commit is contained in:
@@ -66,7 +66,7 @@ describe('FiltersComponent', () => {
|
||||
|
||||
describe('toggle', () => {
|
||||
beforeEach(() => {
|
||||
spyOn(component, 'postFilteredCollections').and.returnValue(observableOf(expected));
|
||||
spyOn(component, 'getFilteredCollections').and.returnValue(observableOf(expected));
|
||||
spyOn(component.results, 'deserialize');
|
||||
spyOn(component.accordionComponent, 'expand').and.callThrough();
|
||||
component.submit();
|
||||
|
Reference in New Issue
Block a user