Add credentialStatus test

This uses the wellspring2022-portal app. If it ever breaks, the data was probably changed in the app.
This commit is contained in:
Andy Miller (IMS)
2023-05-22 10:30:29 +09:00
parent 74182bf2fc
commit 45734fa9d4
4 changed files with 71 additions and 1 deletions
@@ -59,7 +59,7 @@ public class RevocationListProbe extends Probe<Credential> {
JsonNode crdID = crd.getJson().get("id"); //TODO these != checks sb removed (trigger warning)
if(crdID != null) {
List<JsonNode> list = JsonNodeUtil.asNodeList(revocList.get("revokedCredentials"));
List<JsonNode> list = JsonNodeUtil.asNodeList(revocList.get("revokedCredential"));
if(list != null) {
for(JsonNode item : list) {
JsonNode revID = item.get("id");