mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(ec2): persist VPC DNS attributes and support DescribeVpcEndpointServices (#624)
This commit is contained in:
1 parent
f5ec6fc887
commit
d28b175cb0
12 files changed
+193
-6
No files matched your search
@@ -205,7 +205,7 @@ class Ec2IntegrationTest {
|
||||
given()
|
||||
.formParam("Action", "ModifyVpcAttribute")
|
||||
.formParam("VpcId", vpcId)
|
||||
.formParam("EnableDnsSupport.Value", "true")
|
||||
.formParam("EnableDnsSupport.Value", "false")
|
||||
.header("Authorization", AUTH_HEADER)
|
||||
.when()
|
||||
.post("/")
|
||||
@@ -225,7 +225,20 @@ class Ec2IntegrationTest {
|
||||
.post("/")
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body("DescribeVpcAttributeResponse.vpcId", equalTo(vpcId));
|
||||
.body("DescribeVpcAttributeResponse.vpcId", equalTo(vpcId))
|
||||
.body("DescribeVpcAttributeResponse.enableDnsSupport.value", equalTo("false"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(14)
|
||||
void describeVpcEndpointServices() {
|
||||
given()
|
||||
.formParam("Action", "DescribeVpcEndpointServices")
|
||||
.header("Authorization", AUTH_HEADER)
|
||||
.when()
|
||||
.post("/")
|
||||
.then()
|
||||
.statusCode(200);
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
|
||||
Reference in new issue
Block a user