log-2022 #64

Merged
philipp merged 78 commits from log-2022 into main 2023-11-20 10:11:05 +01:00
Showing only changes of commit a87832e4f4 - Show all commits

View File

@ -701,7 +701,7 @@ mod test {
let req = client
.post(format!("/log/{log_id}"))
.header(ContentType::Form)
.body(format!("destination=Ottensheim&distance_in_km=25&shipmaster={shipmaster_id}&steering_person={shipmaster_id}&departure={0}T10:00&arrival=1990-01-01T12:00&rowers[]={shipmaster_id}", current_date));
.body(format!("destination=Ottensheim&distance_in_km=25&shipmaster={shipmaster_id}&steering_person={shipmaster_id}&departure={0}T10:00&arrival={0}T12:00&rowers[]={shipmaster_id}", current_date));
let response = req.dispatch().await;
assert_eq!(response.status(), Status::SeeOther);