Remove claimless credential credentialSubject from conformance test
nissimsan opened this issue · comments
A number of the conformance credential issuance positive tests are passing empty credentialSubjects in the request body:
{"credential":{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/traceability/v1"],"type":["VerifiableCredential"],"issuer":"did:web:platform.transmute.industries:organizations:org_Mt46IVhChCDYEV6o","issuanceDate":"2006-01-02T15:04:05Z","credentialSubject":{}},"options":{"type":"Ed25519Signature2018"}}
According to the v2 spec "The value of the credentialSubject property is defined as a set of objects that MUST contain one or more claims...".
The tests (credentials_issue
, credentials_issue:credential.opt.id
, etc) should be valid.