Fixed unit test

This commit is contained in:
Jean-François Morin
2024-02-23 17:12:38 -05:00
parent 600c99178a
commit 91d97f8af0

View File

@@ -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();