allow-event-triptype-update #569
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user