mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(s3): remove XML declaration from GetBucketLocation response (#403)
This commit is contained in:
1 parent
300bfa4356
commit
3621c32b88
2 files changed
+9
-7
No files matched your search
@@ -1289,6 +1289,7 @@ class S3IntegrationTest {
|
||||
.get("/" + bucket + "?location")
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body(not(containsString("<?xml")))
|
||||
.body(containsString("<LocationConstraint"))
|
||||
.body(not(containsString("us-east-1")));
|
||||
|
||||
@@ -1318,6 +1319,7 @@ class S3IntegrationTest {
|
||||
.get("/" + bucket + "?location")
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body(not(containsString("<?xml")))
|
||||
.body(containsString("eu-central-1"));
|
||||
|
||||
given().when().delete("/" + bucket);
|
||||
|
||||
Reference in new issue
Block a user