mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(ec2): avoid mixed-type matcher in route table integration test (#1304)
This commit is contained in:
1 parent
d8d70bfd48
commit
e6748862b1
1 file changed
+1
-3
@@ -1,7 +1,6 @@
|
||||
package io.github.hectorvent.floci.services.ec2;
|
||||
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
import static org.hamcrest.Matchers.anyOf;
|
||||
import static org.hamcrest.Matchers.greaterThan;
|
||||
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
|
||||
import static org.hamcrest.Matchers.not;
|
||||
@@ -375,8 +374,7 @@ class Ec2IntegrationTest {
|
||||
.then()
|
||||
.statusCode(200)
|
||||
.body("DescribeRouteTablesResponse.routeTableSet.item.vpcId", equalTo(vpcId))
|
||||
.body("DescribeRouteTablesResponse.routeTableSet.item.associationSet.item.main",
|
||||
anyOf(equalTo(true), equalTo("true")));
|
||||
.body(containsString("<main>true</main>"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user