Skip to content

Commit d2278e5

Browse files
committed
fix test
1 parent f855b40 commit d2278e5

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

examples/integration-scripts/credentials.test.ts

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,13 @@ test('single signature credentials', async () => {
154154
const issResult = await issuerClient
155155
.credentials()
156156
.issue(issuerAid.name, {
157-
ri: registry.regk,
158-
s: QVI_SCHEMA_SAID,
159-
a: {
160-
i: holderAid.prefix,
161-
...vcdata,
157+
acdc: {
158+
ri: registry.regk,
159+
s: QVI_SCHEMA_SAID,
160+
a: {
161+
i: holderAid.prefix,
162+
...vcdata,
163+
},
162164
},
163165
});
164166

@@ -492,28 +494,30 @@ test('single signature credentials', async () => {
492494
const result = await holderClient
493495
.credentials()
494496
.issue(holderAid.name, {
495-
a: {
496-
i: legalEntityAid.prefix,
497-
LEI: '5493001KJTIIGC8Y1R17',
498-
},
499-
ri: holderRegistry.regk,
500-
s: LE_SCHEMA_SAID,
501-
r: Saider.saidify({
502-
d: '',
503-
usageDisclaimer: {
504-
l: 'Usage of a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, does not assert that the Legal Entity is trustworthy, honest, reputable in its business dealings, safe to do business with, or compliant with any laws or that an implied or expressly intended purpose will be fulfilled.',
497+
acdc: {
498+
a: {
499+
i: legalEntityAid.prefix,
500+
LEI: '5493001KJTIIGC8Y1R17',
505501
},
506-
issuanceDisclaimer: {
507-
l: 'All information in a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, is accurate as of the date the validation process was complete. The vLEI Credential has been issued to the legal entity or person named in the vLEI Credential as the subject; and the qualified vLEI Issuer exercised reasonable care to perform the validation process set forth in the vLEI Ecosystem Governance Framework.',
508-
},
509-
})[1],
510-
e: Saider.saidify({
511-
d: '',
512-
qvi: {
513-
n: qviCredential.sad.d,
514-
s: qviCredential.sad.s,
515-
},
516-
})[1],
502+
ri: holderRegistry.regk,
503+
s: LE_SCHEMA_SAID,
504+
r: Saider.saidify({
505+
d: '',
506+
usageDisclaimer: {
507+
l: 'Usage of a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, does not assert that the Legal Entity is trustworthy, honest, reputable in its business dealings, safe to do business with, or compliant with any laws or that an implied or expressly intended purpose will be fulfilled.',
508+
},
509+
issuanceDisclaimer: {
510+
l: 'All information in a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, is accurate as of the date the validation process was complete. The vLEI Credential has been issued to the legal entity or person named in the vLEI Credential as the subject; and the qualified vLEI Issuer exercised reasonable care to perform the validation process set forth in the vLEI Ecosystem Governance Framework.',
511+
},
512+
})[1],
513+
e: Saider.saidify({
514+
d: '',
515+
qvi: {
516+
n: qviCredential.sad.d,
517+
s: qviCredential.sad.s,
518+
},
519+
})[1],
520+
},
517521
});
518522

519523
await waitOperation(holderClient, result.op);

0 commit comments

Comments
 (0)