Merge pull request #71 from imsglc/feature/upload_uri_in_api

Fixed tests
This commit is contained in:
Xavi Aracil 2023-03-03 13:54:28 +01:00 committed by GitHub
commit 3ba3c642a9

View File

@ -346,13 +346,13 @@ public class OB30Tests {
@Test
void testCompleteJsonInvalidInlineSchemaRef() throws Exception {
//404 inline schema ref, and 404 refresh uri
//404 inline schema ref
assertDoesNotThrow(()->{
Report report = validator.run(Samples.OB30.JSON.COMPLETE_JSON.asFileResource());
if(verbose) PrintHelper.print(report, true);
assertFalse(report.asBoolean());
assertTrue(Iterables.size(report.getErrors()) > 0);
assertTrue(Iterables.size(report.getExceptions()) > 0);
// assertTrue(Iterables.size(report.getExceptions()) > 0);
assertHasProbeID(report, InlineJsonSchemaProbe.ID, true);
});
}