Skip to content

Commit cf75009

Browse files
committed
add hash verification
1 parent d546923 commit cf75009

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

processor/json-ld/processor_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,6 @@ func TestParserParseClaimWithSubjectID(t *testing.T) {
366366
assert.Nil(t, err)
367367
assert.Equal(t, subjectID, id.String())
368368

369+
err = schemaUtils.VerifyClaimHash(&vc, coreClaim)
370+
assert.Nil(t, err)
369371
}

0 commit comments

Comments
 (0)