diff --git a/src/tera/log.rs b/src/tera/log.rs index 7d7c0ca..ea006e7 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -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);