aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/s3
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/tests/s3')
-rw-r--r--src/garage/tests/s3/website.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/tests/s3/website.rs b/src/garage/tests/s3/website.rs
index f57e31ee..4e136e1b 100644
--- a/src/garage/tests/s3/website.rs
+++ b/src/garage/tests/s3/website.rs
@@ -57,7 +57,7 @@ async fn test_website() {
Request::builder()
.method("GET")
.uri(format!("http://127.0.0.1:{}/check", ctx.garage.admin_port))
- .header("domain", format!("{}", BCKT_NAME))
+ .header("domain", BCKT_NAME.to_string())
.body(Body::empty())
.unwrap()
};
@@ -92,7 +92,7 @@ async fn test_website() {
Request::builder()
.method("GET")
.uri(format!("http://127.0.0.1:{}/check", ctx.garage.admin_port))
- .header("domain", format!("{}", BCKT_NAME))
+ .header("domain", BCKT_NAME.to_string())
.body(Body::empty())
.unwrap()
};
@@ -121,7 +121,7 @@ async fn test_website() {
Request::builder()
.method("GET")
.uri(format!("http://127.0.0.1:{}/check", ctx.garage.admin_port))
- .header("domain", format!("{}", BCKT_NAME))
+ .header("domain", BCKT_NAME.to_string())
.body(Body::empty())
.unwrap()
};