diff --git a/frontend/src/app/event/components/eventlist.component.spec.ts b/frontend/src/app/event/components/eventlist.component.spec.ts index 67f2c0c..450a505 100644 --- a/frontend/src/app/event/components/eventlist.component.spec.ts +++ b/frontend/src/app/event/components/eventlist.component.spec.ts @@ -86,7 +86,7 @@ describe('EventlistComponent', () => { const fnc = spyOn(eventService, 'getEventsWithFilter').and.returnValue( of(events) ); - sut.filterByOrganisation({ value: 'Cevi Alpin' } as MatSelectChange); + sut.filterByOrganisation({ value: ['Cevi Alpin'] } as MatSelectChange); expect(fnc).toHaveBeenCalledWith({ groups: ['Cevi Alpin'], } as CeviEventFilter);