diff --git a/src/test/java/com/endava/cats/factory/FuzzingDataFactoryTest.java b/src/test/java/com/endava/cats/factory/FuzzingDataFactoryTest.java index 65301ae8..364028ed 100644 --- a/src/test/java/com/endava/cats/factory/FuzzingDataFactoryTest.java +++ b/src/test/java/com/endava/cats/factory/FuzzingDataFactoryTest.java @@ -787,7 +787,7 @@ void shouldAvoidCyclicDependenciesOnAdditionalProperties() throws Exception { Assertions.assertThat(dataList).hasSize(1); Assertions.assertThat(dataList.getFirst().getMethod()).isEqualTo(HttpMethod.POST); String payload = dataList.getFirst().getPayload(); - Object existing = JsonUtils.getVariableFromJson(payload, "$.containers#key#containers#key#containers#key#containers#key#containers#key#containers"); + Object existing = JsonUtils.getVariableFromJson(payload, "$.containers#key#containers#key#containers#key#containers#key#containers"); Object nonExisting = JsonUtils.getVariableFromJson(payload, "$.containers#key#containers#key#containers#key#containers#key#containers#key#containers#key"); Assertions.assertThat(existing).hasToString("{}");