From ab88ce32307ecba033792ef42b556a51195c8007 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 4 Jun 2024 08:13:24 +0200 Subject: [PATCH] fix tests --- src/model/notification.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/model/notification.rs b/src/model/notification.rs index 554f40e..8919cb9 100644 --- a/src/model/notification.rs +++ b/src/model/notification.rs @@ -238,6 +238,7 @@ mod test { notes: event.notes.as_deref(), always_show: event.always_show, is_locked: event.is_locked, + trip_type_id: None, }; event.update(&pool, &cancel_update).await; @@ -267,6 +268,7 @@ mod test { notes: event.notes.as_deref(), always_show: event.always_show, is_locked: event.is_locked, + trip_type_id: None, }; event.update(&pool, &update).await; assert!(Notification::for_user(&pool, &rower).await.is_empty());