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