Fixed test with invalid proof
This commit is contained in:
parent
d1d2b6cf01
commit
f2cab6934d
@ -16,7 +16,7 @@ import org.oneedtech.inspect.vc.probe.CredentialParseProbe;
|
|||||||
|
|
||||||
public class Endorsement30Tests {
|
public class Endorsement30Tests {
|
||||||
private static EndorsementInspector validator;
|
private static EndorsementInspector validator;
|
||||||
private static boolean verbose = false;
|
private static boolean verbose = true;
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
static void setup() {
|
static void setup() {
|
||||||
@ -26,7 +26,7 @@ public class Endorsement30Tests {
|
|||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Disabled @Test
|
@Test
|
||||||
void testEndorsementWithoutErrors() {
|
void testEndorsementWithoutErrors() {
|
||||||
assertDoesNotThrow(()->{
|
assertDoesNotThrow(()->{
|
||||||
Report report = validator.run(Samples.OB30.JSON.ENDORSEMENT_VALID.asFileResource());
|
Report report = validator.run(Samples.OB30.JSON.ENDORSEMENT_VALID.asFileResource());
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
],
|
],
|
||||||
"proof": {
|
"proof": {
|
||||||
"type": "Ed25519Signature2020",
|
"type": "Ed25519Signature2020",
|
||||||
"created": "2022-12-20T20:56:10Z",
|
"created": "2010-01-01T19:23:24Z",
|
||||||
|
"verificationMethod": "https://state.gov/issuers/565049#z6MkjZRZv3aez3r18pB1RBFJR1kwUVJ5jHt92JmQwXbd5hwi",
|
||||||
"proofPurpose": "assertionMethod",
|
"proofPurpose": "assertionMethod",
|
||||||
"verificationMethod": "did:key:z6MkgG59UvkBM1Lfv2D9JBu6yHn7aKurbwQgs1h5NCYJEk35",
|
"proofValue": "z347N8ntbL3usCGshtUZiyrBeGBhYVAqyi4HUhz4fBmU1zVwk5eRfPZJvKoendfyGaeSbJcAfQEVNpvcHLzVhDtQC"
|
||||||
"proofValue": "zLJF9oRBcpVQ9HUt8BRfPevvEGwL74bSyBKDpGzjNpb3KtMQ8JhQDPq3C4sqojneNz74YFWkjLSntC93iZGVscta"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user