Skip to content

Commit

Permalink
fix: adjust event click test to changed task url
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <[email protected]>
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
raimund-schluessler authored and st3iny committed Dec 20, 2024
1 parent 3ad438b commit 4d5328f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
Expand Down

0 comments on commit 4d5328f

Please sign in to comment.