Skip to content

Commit

Permalink
test: temporarily enable additional properties for data
Browse files Browse the repository at this point in the history
  • Loading branch information
davdarras committed Jun 14, 2024
1 parent 5671ec1 commit cd59115
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ void testData05() throws IOException {
String dataJson = JsonTestHelper.getResourceFileAsString("json-schema-validation/data/invalid-property-data.json");
JsonNode dataNode = mapper.readValue(dataJson, JsonNode.class);
Set<ValidationMessage> errors = validatorComponent.validate(SchemaType.DATA, dataNode);
assertThat(errors).isNotEmpty();
assertThat(errors).isEmpty();
/*assertThat(errors).isNotEmpty();
errors.forEach(error -> assertForbiddenProperty(error, "$", "PLOP"));
*/
}

@Test
Expand Down

0 comments on commit cd59115

Please sign in to comment.