mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(s3): include EventBridgeConfiguration in GetBucketNotification response (#2072)
This commit is contained in:
1 parent
f4e8bd8edf
commit
b8edd37b0c
2 files changed
+17
No files matched your search
+14
@@ -115,6 +115,13 @@ class S3EventBridgeIntegrationTest {
|
||||
.put("/eb-s3-test-bucket?notification")
|
||||
.then()
|
||||
.statusCode(200);
|
||||
|
||||
given()
|
||||
.when()
|
||||
.get("/eb-s3-test-bucket?notification")
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body(containsString("<EventBridgeConfiguration"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -185,6 +192,13 @@ class S3EventBridgeIntegrationTest {
|
||||
.then()
|
||||
.statusCode(200);
|
||||
|
||||
given()
|
||||
.when()
|
||||
.get("/eb-s3-test-bucket?notification")
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body(not(containsString("EventBridgeConfiguration")));
|
||||
|
||||
// Drain any leftover messages
|
||||
given()
|
||||
.contentType("application/x-www-form-urlencoded")
|
||||
|
||||
Reference in new issue
Block a user