Properly await the server future
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Valentin Brandl 2023-06-13 10:42:53 +02:00
parent 9f3c2813ab
commit a64f55f362

View File

@ -38,7 +38,7 @@ pub async fn spawn_app() -> TestApp {
.await .await
.expect("Failed to bind address"); .expect("Failed to bind address");
let _ = tokio::spawn(server); let _ = tokio::spawn(server).await;
TestApp { TestApp {
address, address,