Added simple badge class test

This commit is contained in:
Xavi Aracil 2022-11-24 17:07:10 +01:00
parent f17f8913bc
commit 20ca615e46

View File

@ -48,6 +48,17 @@ public class OB20Tests {
}); });
} }
@Test
void testSimpleBadgeClassJsonValid() {
assertDoesNotThrow(()->{
Report report = validator.run(Samples.OB20.JSON.SIMPLE_BADGECLASS.asFileResource());
if(verbose) PrintHelper.print(report, true);
assertValid(report);
});
}
@Nested @Nested
static class WarningTests { static class WarningTests {
@BeforeAll @BeforeAll