diff --git a/inspector-vc/src/test/java/org/oneedtech/inspect/vc/Samples.java b/inspector-vc/src/test/java/org/oneedtech/inspect/vc/Samples.java index 3fd3811..c972edd 100644 --- a/inspector-vc/src/test/java/org/oneedtech/inspect/vc/Samples.java +++ b/inspector-vc/src/test/java/org/oneedtech/inspect/vc/Samples.java @@ -43,9 +43,10 @@ public class Samples { public static final class OB20 { public static final class JSON { + // original: test_verify:test_verify_function public final static Sample SIMPLE_ASSERTION_JSON = new Sample("ob20/basic-assertion.json", true); - // public final static Sample SIMPLE_BADGECLASS_JSON = new Sample("ob20/basic-badgeclass.json", true); - // public final static Sample SIMPLE_ISSUER_JSON = new Sample("ob20/basic-issuer.json", true); + // original: test_graph:test_verify_with_redirection + public final static Sample WARNING_REDIRECTION_ASSERTION_JSON = new Sample("ob20/warning-with-redirection.json", true); } } } diff --git a/inspector-vc/src/test/resources/ob20/warning-with-redirection.json b/inspector-vc/src/test/resources/ob20/warning-with-redirection.json index a350449..01c02ad 100644 --- a/inspector-vc/src/test/resources/ob20/warning-with-redirection.json +++ b/inspector-vc/src/test/resources/ob20/warning-with-redirection.json @@ -1,17 +1,17 @@ -{ // test_graph:test_verify_with_redirection - "@context": "https://w3id.org/openbadges/v2", // openbadges_context.json +{ + "@context": "https://w3id.org/openbadges/v2", "type": "Assertion", - "id": "https://example.org/beths-robotics-badge.json", // robotics-badge.json + "id": "https://example.org/beths-robotics-badge.json", "recipient": { "type": "email", "hashed": true, "salt": "deadsea", "identity": "sha256$ecf5409f3f4b91ab60cc5ef4c02aef7032354375e70cf4d8e43f6a1d29891942" }, - "image": "https://example.org/beths-robot-badge.png", // image + "image": "https://example.org/beths-robot-badge.png", "evidence": "https://example.org/beths-robot-work.html", "issuedOn": "2016-12-31T23:59:59Z", - "badge": "http://example.org/altbadgeurl", // altbadgeurl.json + "badge": "http://example.org/altbadgeurl", "verification": { "type": "hosted" }