diff --git a/README.md b/README.md index 99cd215..02a3368 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # vc-api-verifier-test-suite + Test Suite for Verifiers that implement the VC HTTP API ## Table of Contents @@ -30,8 +31,12 @@ Note: The default issuer is set to `Digital Bazaar`, you can change the issuer by setting the `ISSUER_NAME` env variable. ## Implementation -To add your implementation to this test suite see the [README here.](https://github.com/w3c-ccg/vc-api-test-suite-implementations) -Add the tag `vc-api` to the issuers and verifiers you want tested. -To run the tests, some implementations require client secrets that can be + +To add your implementation to this test suite see the +`w3c-ccg/vc-test-suite-implementations` [README](https://github.com/w3c-ccg/vc-test-suite-implementations/blob/main/README.md). Add the tag `vc-api` to the verifiers you want +to run the tests against. + +Note: To run the tests, some implementations require client secrets that can be passed as env variables to the test script. To see which ones require client -secrets, you can check the `vc-api-test-suite-implementations` library. +secrets, you can check configs in the `w3c-ccg/vc-test-suite-implementations` +repo. diff --git a/package.json b/package.json index 8ebbaeb..0d772da 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "klona": "^2.0.5", "mocha": "^10.0.0", "uuid": "^9.0.1", - "vc-api-test-suite-implementations": "github:w3c-ccg/vc-api-test-suite-implementations" + "vc-test-suite-implementations": "github:w3c-ccg/vc-test-suite-implementations#rename-package" }, "devDependencies": { "eslint": "^8.54.0", diff --git a/tests/10-vc-di.js b/tests/10-vc-di.js index 48e847f..36af09a 100644 --- a/tests/10-vc-di.js +++ b/tests/10-vc-di.js @@ -7,7 +7,7 @@ import { testBadRequestError } from './helpers.js'; import chai from 'chai'; -import {filterByTag} from 'vc-api-test-suite-implementations'; +import {filterByTag} from 'vc-test-suite-implementations'; import {issuerName} from './test-config.js'; import {klona} from 'klona'; @@ -43,7 +43,7 @@ describe('Verify Credential - Data Integrity', function() { let validVc; before(async function() { const issuer = matchingIssuers.get(issuerName).issuers.find( - issuer => issuer.tags.has('Ed25519Signature2020')); + issuer => issuer.tags.has('vc-api')); validVc = await createInitialVc({issuer}); }); it('MUST verify a valid VC.', async function() { diff --git a/tests/11-vc-jwt.js b/tests/11-vc-jwt.js index 03f6a37..9542b49 100644 --- a/tests/11-vc-jwt.js +++ b/tests/11-vc-jwt.js @@ -7,7 +7,7 @@ import { testBadRequestError } from './helpers.js'; import chai from 'chai'; -import {filterByTag} from 'vc-api-test-suite-implementations'; +import {filterByTag} from 'vc-test-suite-implementations'; import {issuerNameJWT} from './test-config.js'; import {klona} from 'klona';