Skip to content

Commit

Permalink
fix(test): expect requestorField in claim
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Jan 11, 2022
1 parent 3ca9f2e commit a5fe8af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/claims.service.e2e.ts
Expand Up @@ -162,8 +162,9 @@ describe("Enrollment claim tests", () => {
) {
await signerService.connect(requestSigner, ProviderType.PrivateKey);
const requesterDID = signerService.did;
const requestorFields = [{ key: "temperature", value: 36 }];
await claimsService.createClaimRequest({
claim: { claimType, claimTypeVersion: version, requestorFields: [{ key: "temperature", value: 36 }] },
claim: { claimType, claimTypeVersion: version, requestorFields },
registrationTypes,
subject: subjectDID,
});
Expand All @@ -187,6 +188,7 @@ describe("Enrollment claim tests", () => {
claimType,
claimTypeVersion: version,
issuerFields,
requestorFields,
});

expect(claimData).not.toContain({
Expand Down

0 comments on commit a5fe8af

Please sign in to comment.