Refactor code

This commit is contained in:
2023-09-05 20:48:02 +00:00
parent 709411ce5c
commit a1dc92defd
13 changed files with 346 additions and 310 deletions

View File

@ -341,8 +341,9 @@ mod test {
let response = req.dispatch().await;
let text = response.into_string().await.unwrap();
println!("{text:?}");
assert!(text.contains("Logbuch"));
assert!(text.contains("Bootsname: Joe"));
assert!(text.contains("Joe"));
}
#[sqlx::test]
@ -361,7 +362,7 @@ mod test {
let text = response.into_string().await.unwrap();
assert!(text.contains("Logbuch"));
assert!(text.contains("Bootsname: Joe"));
assert!(text.contains("Joe"));
}
#[sqlx::test]