From 4d5328fcdf15e16d3862bd392859b390f4de6cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Wed, 4 Dec 2024 09:02:34 +0100 Subject: [PATCH] fix: adjust event click test to changed task url MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler Signed-off-by: Richard Steinmetz --- .../javascript/unit/fullcalendar/interaction/eventClick.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/javascript/unit/fullcalendar/interaction/eventClick.test.js b/tests/javascript/unit/fullcalendar/interaction/eventClick.test.js index 8806065257..408a3097d4 100644 --- a/tests/javascript/unit/fullcalendar/interaction/eventClick.test.js +++ b/tests/javascript/unit/fullcalendar/interaction/eventClick.test.js @@ -323,7 +323,7 @@ describe('fullcalendar/eventClick test suite', () => { }}) expect(generateUrl).toHaveBeenCalledTimes(1) - expect(generateUrl).toHaveBeenNthCalledWith(1, 'apps/tasks/#/calendars/reminders/tasks/EAFB112A-4556-404A-B807-B1E040D0F7A0.ics') + expect(generateUrl).toHaveBeenNthCalledWith(1, 'apps/tasks/calendars/reminders/tasks/EAFB112A-4556-404A-B807-B1E040D0F7A0.ics') expect(window.location).toEqual('http://nextcloud.testing/generated-url') })