Skip to content

Commit

Permalink
Fix mismatch between issued VC and query
Browse files Browse the repository at this point in the history
The test was issuing an Access Request, but requesting Access Grants, so
it still failed for users not having any Access Grants issued.
  • Loading branch information
NSeydoux committed Nov 16, 2023
1 parent 7958a50 commit ba97ad2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ describe("End-to-end verifiable credentials tests for environment", () => {
},
),
]);

await expect(
getVerifiableCredentialAllFromShape(
new URL("derive", env.vcProvider).href,
Expand All @@ -177,14 +176,7 @@ describe("End-to-end verifiable credentials tests for environment", () => {
"https://www.w3.org/2018/credentials/v1",
"https://schema.inrupt.com/credentials/v1.jsonld",
],
type: ["VerifiableCredential", "SolidAccessGrant"],
credentialSubject: {
id: vcSubject,
providedConsent: {
hasStatus:
"https://w3id.org/GConsent#ConsentStatusExplicitlyGiven",
},
},
type: ["VerifiableCredential"],
},
{
fetch: session.fetch,
Expand Down

0 comments on commit ba97ad2

Please sign in to comment.