From 2420b69d430714ef21f26cb5ab511eec155cd000 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 6 Jun 2023 12:26:48 +0200 Subject: [PATCH] fix tests --- src/model/planned_event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/planned_event.rs b/src/model/planned_event.rs index 6284a74..046ea4a 100644 --- a/src/model/planned_event.rs +++ b/src/model/planned_event.rs @@ -279,6 +279,6 @@ mod test { let pool = testdb!(); let actual = PlannedEvent::get_ics_feed(&pool).await; - assert_eq!("BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//rudernlinz.at//Trips//DE\nX-WR-CALNAME:Ruderausfahrten\nBEGIN:VEVENT\nUID:1@rudernlinz.at\nDTSTART;TZID=Europe/Vienna:19700101T100000\nSUMMARY:test-planned-event\nEND:VEVENT\nEND:VCALENDAR", actual); + assert_eq!("BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:ics-rs\r\nBEGIN:VEVENT\r\nUID:1@rudernlinz.at\r\nDTSTAMP:19900101T180000\r\nDTSTART:19700101T100000\r\nSUMMARY:test-planned-event\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n", actual); } }