This commit is contained in:
parent
a64f55f362
commit
87bae1bbd1
@ -38,7 +38,9 @@ pub async fn spawn_app() -> TestApp {
|
|||||||
.await
|
.await
|
||||||
.expect("Failed to bind address");
|
.expect("Failed to bind address");
|
||||||
|
|
||||||
let _ = tokio::spawn(server).await;
|
#[allow(clippy::let_underscore_future)]
|
||||||
|
// don't await so the test server runs in the background
|
||||||
|
let _ = tokio::spawn(server);
|
||||||
|
|
||||||
TestApp {
|
TestApp {
|
||||||
address,
|
address,
|
||||||
|
Loading…
Reference in New Issue
Block a user