fix ci
This commit is contained in:
parent
8ebc06e445
commit
6d4ebda4bc
@ -153,7 +153,7 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(flash_cookie.value(), "7:successSuccessfully updated boat");
|
||||
assert_eq!(flash_cookie.value(), "7:successBoot bearbeitet");
|
||||
|
||||
let boat = Boat::find_by_id(&db, 1).await.unwrap();
|
||||
assert_eq!(boat.name, "Haichiii");
|
||||
@ -267,7 +267,7 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(flash_cookie.value(), "7:successSuccessfully created boat");
|
||||
assert_eq!(flash_cookie.value(), "7:successBoot hinzugefügt");
|
||||
|
||||
Boat::find_by_name(&db, "completely-new-boat".into())
|
||||
.await
|
||||
|
@ -127,10 +127,7 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"7:successSuccessfully deleted the event"
|
||||
);
|
||||
assert_eq!(flash_cookie.value(), "7:successEvent gelöscht");
|
||||
|
||||
let event = PlannedEvent::find_by_id(&db, 1).await;
|
||||
assert_eq!(event, None);
|
||||
@ -265,10 +262,7 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"7:successSuccessfully planned the event"
|
||||
);
|
||||
assert_eq!(flash_cookie.value(), "7:successEvent hinzugefügt");
|
||||
|
||||
let event = PlannedEvent::find_by_id(&db, 2).await.unwrap();
|
||||
assert_eq!(event.name, "my-cool-new-event");
|
||||
|
@ -502,7 +502,10 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(flash_cookie.value(), "7:successSuccessfully updated log");
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"7:successAusfahrt korrekt eingetragen"
|
||||
);
|
||||
}
|
||||
|
||||
//Kiosk mode
|
||||
@ -637,7 +640,10 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(flash_cookie.value(), "7:successSuccessfully updated log");
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"7:successAusfahrt korrekt eingetragen"
|
||||
);
|
||||
}
|
||||
|
||||
#[sqlx::test]
|
||||
@ -827,7 +833,7 @@ mod test {
|
||||
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"5:errorLogbook with ID 1 could not be updated!"
|
||||
"5:errorEintrag 1 konnte nicht abgesendet werden!"
|
||||
);
|
||||
}
|
||||
|
||||
@ -874,7 +880,10 @@ mod test {
|
||||
.get("_flash")
|
||||
.expect("Expected flash cookie");
|
||||
|
||||
assert_eq!(flash_cookie.value(), "7:successSuccessfully updated log");
|
||||
assert_eq!(
|
||||
flash_cookie.value(),
|
||||
"7:successAusfahrt korrekt eingetragen"
|
||||
);
|
||||
}
|
||||
|
||||
async fn cant_start_trip(
|
||||
|
Loading…
Reference in New Issue
Block a user