fix(ec2): avoid mixed-type matcher in route table integration test (#1304)

This commit is contained in:
shrimptails-f authored and GitHub committed 2026-06-12 17:49:29 -05:00
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