From f1b91bec92d03b977d7e63d8071b05b8c4d1f721 Mon Sep 17 00:00:00 2001 From: Patrick Uhlmann Date: Sun, 24 Nov 2024 23:49:13 +0100 Subject: [PATCH] fix tests --- frontend/src/app/event/components/eventlist.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);