We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044d362 commit 5a35e48Copy full SHA for 5a35e48
tests/api/helpers.rs
@@ -55,7 +55,7 @@ pub async fn spawn_app() -> TestApp {
55
56
// Launch the application as a background task
57
let application = Application::build(configuration.clone()).await.expect("Failed to build application.");
58
- let address = format!("http://127.0.0.1:{}", application.port());
+ let address = format!("http://localhost:{}", application.port());
59
let _ = tokio::spawn(application.run_until_stopped());
60
TestApp {
61
address,
0 commit comments