add unit test for JsonSchemaProbe

This commit is contained in:
Markus Gylling
2022-07-13 21:27:09 +02:00
parent a766a83fd0
commit 67232f5b1d
4 changed files with 42 additions and 1 deletions
@@ -25,7 +25,6 @@ public class ExpirationVerifierProbe extends Probe<Credential> {
* If the AchievementCredential or EndorsementCredential has an “expirationDate” property
* and the expiration date is prior to the current date, the credential has expired.
*/
System.err.println("ExpirationVerifierProbe");
JsonNode node = crd.getJson().get("expirationDate");
if(node != null) {
try {