File tree Expand file tree Collapse file tree
aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -770,13 +770,14 @@ async def test_receive_credential_x_credential_status_ne(self):
770770
771771 async def test_receive_credential_x_credential_status_ne_both_set (self ):
772772 detail = deepcopy (LD_PROOF_VC_DETAIL )
773+ statusEntry = {"type" : "SomeRandomType" }
773774
774- # Set credential status so it's only set on the detail
775- # not the issued credential
775+ # Set credential status in both request and reference credential
776776 detail ["options" ]["credentialStatus" ] = {"type" : "CredentialStatusType" }
777+ detail ["credential" ]["credentialStatus" ] = deepcopy (statusEntry )
777778
778779 vc = deepcopy (LD_PROOF_VC )
779- vc ["credentialStatus" ] = { "type" : "SomeRandomType" }
780+ vc ["credentialStatus" ] = deepcopy ( statusEntry )
780781
781782 cred_issue = V20CredIssue (
782783 formats = [
You can’t perform that action at this time.
0 commit comments