allow-event-triptype-update #569

Merged
philipp merged 3 commits from allow-event-triptype-update into staging 2024-06-04 08:32:56 +02:00
Showing only changes of commit ab88ce3230 - Show all commits

View File

@ -238,6 +238,7 @@ mod test {
notes: event.notes.as_deref(), notes: event.notes.as_deref(),
always_show: event.always_show, always_show: event.always_show,
is_locked: event.is_locked, is_locked: event.is_locked,
trip_type_id: None,
}; };
event.update(&pool, &cancel_update).await; event.update(&pool, &cancel_update).await;
@ -267,6 +268,7 @@ mod test {
notes: event.notes.as_deref(), notes: event.notes.as_deref(),
always_show: event.always_show, always_show: event.always_show,
is_locked: event.is_locked, is_locked: event.is_locked,
trip_type_id: None,
}; };
event.update(&pool, &update).await; event.update(&pool, &update).await;
assert!(Notification::for_user(&pool, &rower).await.is_empty()); assert!(Notification::for_user(&pool, &rower).await.is_empty());