diff --git a/tests/util/mod.rs b/tests/util/mod.rs index 296f983..54f2e87 100644 --- a/tests/util/mod.rs +++ b/tests/util/mod.rs @@ -38,7 +38,7 @@ pub async fn spawn_app() -> TestApp { .await .expect("Failed to bind address"); - let _ = tokio::spawn(server); + let _ = tokio::spawn(server).await; TestApp { address,