Light, fluffy, and always free - The AWS Local Emulator alternative
fix(ec2): avoid mixed-type matcher in route table integration test (#1304)
shrimptails-fe6748862b167
diff --git a/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2IntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2IntegrationTest.javaindex 62cffeb18f..f47dae1251 100644--- a/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2IntegrationTest.java+++ b/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2IntegrationTest.java@@ -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