MUST successfully issue a credential.
|
✓
|
❌
Expected no error, got Request failed with status code 404 Not Found: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Expected no error, got Request failed with status code 404 Not Found: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:41:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:40:49)
|
✓
|
✓
|
❌
Expected no error, got credential.validFrom must be a valid ISO 8601 date string,credential.validFrom should not be empty: expected HTTPError { message: [ …(2) ], …(6) } to not exist
AssertionError: Expected no error, got credential.validFrom must be a valid ISO 8601 date string,credential.validFrom should not be empty: expected HTTPError { message: [ …(2) ], …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:41:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected no error, got Request failed with status code 400 Bad Request: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected no error, got Request failed with status code 400 Bad Request: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:41:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected no error, got fetch failed: expected TypeError: fetch failed { …(2) } to not exist
AssertionError: Expected no error, got fetch failed: expected TypeError: fetch failed { …(2) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:41:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected result to have data.: expected undefined to exist
AssertionError: Expected result to have data.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:42:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
Request body MUST have property "credential".
|
❌
Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:55:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:55:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:54:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:55:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=f1m%2BgkvJuTWyLLDUYqrI6Hsw%2ByVFGQX4VRBOtMh0%2B9EC6G2eXUMf8fCaeSo2wOJUdvAUbaPfdMzhrgfG%2FG1b473SyFz98e3G6KZKZa%2B8%2B%2FY4EN1vEzicjq2IOvD%2B3xmwGpeEH4b5VrCexr1Vddfn"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450113e2805e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5672&min_rtt=5302&rtt_var=1839&sent=8&recv=7&lost=0&retrans=0&sent_bytes=5660&recv_bytes=1914&delivery_rate=538664&cwnd=254&unsent_bytes=0&cid=e8ca273781bca7ac&ts=174&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=f1m%2BgkvJuTWyLLDUYqrI6Hsw%2ByVFGQX4VRBOtMh0%2B9EC6G2eXUMf8fCaeSo2wOJUdvAUbaPfdMzhrgfG%2FG1b473SyFz98e3G6KZKZa%2B8%2B%2FY4EN1vEzicjq2IOvD%2B3xmwGpeEH4b5VrCexr1Vddfn"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450113e2805e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5672&min_rtt=5302&rtt_var=1839&sent=8&recv=7&lost=0&retrans=0&sent_bytes=5660&recv_bytes=1914&delivery_rate=538664&cwnd=254&unsent_bytes=0&cid=e8ca273781bca7ac&ts=174&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:55:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential MUST have property "@context".
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:65:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:64:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:65:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '20', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vUMj3C3lHRnncgd%2Fsx6ymwQYI%2BeaCD7TzXJKpMdbsrxWzzR7ep9dy4PJUF2qUh466BQxz7YiFQJoHLo2eQMpfs74zpim9I019xKj8ba%2FVRQavfOipaU7l%2BKrruQui5NfiVFzYxAi06e6P%2BQTs4yw"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450116e4b05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5739&min_rtt=5302&rtt_var=1190&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8450&recv_bytes=2571&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=216&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '20', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vUMj3C3lHRnncgd%2Fsx6ymwQYI%2BeaCD7TzXJKpMdbsrxWzzR7ep9dy4PJUF2qUh466BQxz7YiFQJoHLo2eQMpfs74zpim9I019xKj8ba%2FVRQavfOipaU7l%2BKrruQui5NfiVFzYxAi06e6P%2BQTs4yw"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450116e4b05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5739&min_rtt=5302&rtt_var=1190&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8450&recv_bytes=2571&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=216&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:65:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential "@context" MUST be an array.
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:75:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:74:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:75:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '21', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RhxCH8h%2F3nKy%2BQ1R8pCVi9%2BFhVDzflkTOF9ZC6tjYPYmdtorukc5vC%2F%2BB2tUH1gduxoQaaVoNaqICnHnHgjWZJzXq37RXJzxe8JTF8NdKpVIMqv9F9AUuWgEyF25zX8BSsKycX8n9IycQldTtavH"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445011ae7f05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5740&min_rtt=5244&rtt_var=868&sent=17&recv=13&lost=0&retrans=0&sent_bytes=11211&recv_bytes=3241&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=258&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:27 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '21', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RhxCH8h%2F3nKy%2BQ1R8pCVi9%2BFhVDzflkTOF9ZC6tjYPYmdtorukc5vC%2F%2BB2tUH1gduxoQaaVoNaqICnHnHgjWZJzXq37RXJzxe8JTF8NdKpVIMqv9F9AUuWgEyF25zX8BSsKycX8n9IycQldTtavH"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445011ae7f05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5740&min_rtt=5244&rtt_var=868&sent=17&recv=13&lost=0&retrans=0&sent_bytes=11211&recv_bytes=3241&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=258&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:75:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential "@context" items MUST be strings.
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:87:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:86:35)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:87:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ed9hjtg1nI0e9CuR%2F7AnZ5dTyd37msaLTpuwwTU3LF7X412kYkFgENIfQR3osu%2FGCFV160bXO%2BzHkn0UOIKeAbk43onzBAn%2F9uSSAsxjxM%2FWo6vodrhj0C4CkZkpTD3svIrYIG9%2FpAxFsJAyQWRE"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445011eebd05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5878&min_rtt=5244&rtt_var=926&sent=20&recv=15&lost=0&retrans=0&sent_bytes=13944&recv_bytes=3922&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=285&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ed9hjtg1nI0e9CuR%2F7AnZ5dTyd37msaLTpuwwTU3LF7X412kYkFgENIfQR3osu%2FGCFV160bXO%2BzHkn0UOIKeAbk43onzBAn%2F9uSSAsxjxM%2FWo6vodrhj0C4CkZkpTD3svIrYIG9%2FpAxFsJAyQWRE"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445011eebd05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5878&min_rtt=5244&rtt_var=926&sent=20&recv=15&lost=0&retrans=0&sent_bytes=13944&recv_bytes=3922&delivery_rate=1091409&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=285&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:87:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential MUST have property "type"
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:98:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:97:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:98:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wpibv6yb3eUy23%2FXCl%2FvVTO1IpY%2FYLvK2ETr1A9h6WLv%2BlYIJ7ekotiAITMv7NoZ93uHiFuhy6NDECsdsrx0xnw177MI7qS3k%2FOvODA9pekYGDFWbGTZojDNy%2FuBh8EBvdjlDgHXsYLCRwpGQAPp"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450121edb05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5882&min_rtt=5244&rtt_var=718&sent=25&recv=18&lost=0&retrans=0&sent_bytes=16733&recv_bytes=4601&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=311&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wpibv6yb3eUy23%2FXCl%2FvVTO1IpY%2FYLvK2ETr1A9h6WLv%2BlYIJ7ekotiAITMv7NoZ93uHiFuhy6NDECsdsrx0xnw177MI7qS3k%2FOvODA9pekYGDFWbGTZojDNy%2FuBh8EBvdjlDgHXsYLCRwpGQAPp"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450121edb05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5882&min_rtt=5244&rtt_var=718&sent=25&recv=18&lost=0&retrans=0&sent_bytes=16733&recv_bytes=4601&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=311&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:98:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
"credential.type" MUST be an array.
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:108:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:107:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:108:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2eGYcvvJaCivUt%2FDbbOiRWOXWyfv8gJC7LQjijv9zbf8hj%2Fmg23GIKUT4u%2F8xgxCdpYx2Z5cl8kzRPJSuq%2FGCk24dhPFIrjcz4sT55MFRWvKZrTO%2FaQbDUXelP6r0vxyt2i9I%2FD85Wp2F61THH76"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450124ef305e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5747&min_rtt=5244&rtt_var=639&sent=29&recv=21&lost=0&retrans=0&sent_bytes=19494&recv_bytes=5289&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=337&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2eGYcvvJaCivUt%2FDbbOiRWOXWyfv8gJC7LQjijv9zbf8hj%2Fmg23GIKUT4u%2F8xgxCdpYx2Z5cl8kzRPJSuq%2FGCk24dhPFIrjcz4sT55MFRWvKZrTO%2FaQbDUXelP6r0vxyt2i9I%2FD85Wp2F61THH76"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450124ef305e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5747&min_rtt=5244&rtt_var=639&sent=29&recv=21&lost=0&retrans=0&sent_bytes=19494&recv_bytes=5289&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=337&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:108:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
"credential.type" items MUST be strings
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:120:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:119:35)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:120:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2OiLAY2XQFRM1M%2BNyQeb1zv33816NKx7WBErCPoQoe%2BnHI4xFNGCWNg9dypbPFvj68Wt%2BcGrok4qYXAo08F4bFC44YrOOiH0WFKH2S8JjinYS2RIaMqCuIm26PmVaTpRJsHl13KayU%2FE9pkb%2Bxql"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450126f1905e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5880&min_rtt=5244&rtt_var=610&sent=32&recv=23&lost=0&retrans=0&sent_bytes=22256&recv_bytes=5980&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=363&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2OiLAY2XQFRM1M%2BNyQeb1zv33816NKx7WBErCPoQoe%2BnHI4xFNGCWNg9dypbPFvj68Wt%2BcGrok4qYXAo08F4bFC44YrOOiH0WFKH2S8JjinYS2RIaMqCuIm26PmVaTpRJsHl13KayU%2FE9pkb%2Bxql"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450126f1905e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5880&min_rtt=5244&rtt_var=610&sent=32&recv=23&lost=0&retrans=0&sent_bytes=22256&recv_bytes=5980&delivery_rate=1107663&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=363&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:120:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential MUST have property "issuer"
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:131:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 201, statusText: 'Created', headers: Headers { 'cache-control': 'no-cache, no-store, must-revalidate', pragma: 'no-cache', expires: '0', vary: 'X-HTTP-Method-Override, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=utf-8', etag: 'W/"2ec-UE2Inqb0k7/hIqytXbLq6nUDbkQ"', 'x-cloud-trace-context': 'babd07e28ab90c232cf62d54a0d8ec3f', date: 'Sun, 19 Jan 2025 05:09:05 GMT', server: 'Google Frontend', 'content-length': '748', via: '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 201, statusText: 'Created', headers: Headers { 'cache-control': 'no-cache, no-store, must-revalidate', pragma: 'no-cache', expires: '0', vary: 'X-HTTP-Method-Override, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=utf-8', etag: 'W/"2ec-UE2Inqb0k7/hIqytXbLq6nUDbkQ"', 'x-cloud-trace-context': 'babd07e28ab90c232cf62d54a0d8ec3f', date: 'Sun, 19 Jan 2025 05:09:05 GMT', server: 'Google Frontend', 'content-length': '748', via: '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:131:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:130:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:131:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Azyqt1Cc%2Frj805y9%2FDFxd0QLRmcyKZe2DkBh8joXjr3%2F7DIF57wVc0xFu0YISDRDUr63i80l0m1dsrFOPnB%2BEadGhERQYxEZwEQW1nsWEXi6pWOeWRRE6OXb2VZ92Q85a4ca9SwfDaVGcDx%2FA4nY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450129f3d05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5860&min_rtt=5244&rtt_var=509&sent=37&recv=26&lost=0&retrans=0&sent_bytes=25043&recv_bytes=6623&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=390&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Azyqt1Cc%2Frj805y9%2FDFxd0QLRmcyKZe2DkBh8joXjr3%2F7DIF57wVc0xFu0YISDRDUr63i80l0m1dsrFOPnB%2BEadGhERQYxEZwEQW1nsWEXi6pWOeWRRE6OXb2VZ92Q85a4ca9SwfDaVGcDx%2FA4nY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450129f3d05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=5860&min_rtt=5244&rtt_var=509&sent=37&recv=26&lost=0&retrans=0&sent_bytes=25043&recv_bytes=6623&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=390&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:131:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
"credential.issuer" MUST be a string or an object
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:143:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:143:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected no result from issuer.: expected Response { status: 201, statusText: 'Created', headers: Headers { 'cache-control': 'no-cache, no-store, must-revalidate', pragma: 'no-cache', expires: '0', vary: 'X-HTTP-Method-Override, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=utf-8', etag: 'W/"2f3-rXV9P7uiVvEU0HZ9/orEwEOVTaM"', 'x-cloud-trace-context': 'c0be4506fb2aff317ef68b4700b47294', date: 'Sun, 19 Jan 2025 05:09:05 GMT', server: 'Google Frontend', 'content-length': '755', via: '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 201, statusText: 'Created', headers: Headers { 'cache-control': 'no-cache, no-store, must-revalidate', pragma: 'no-cache', expires: '0', vary: 'X-HTTP-Method-Override, Accept-Encoding', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=utf-8', etag: 'W/"2f3-rXV9P7uiVvEU0HZ9/orEwEOVTaM"', 'x-cloud-trace-context': 'c0be4506fb2aff317ef68b4700b47294', date: 'Sun, 19 Jan 2025 05:09:05 GMT', server: 'Google Frontend', 'content-length': '755', via: '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:143:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:142:35)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:143:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ag%2BKQEpj0buU0i7O%2BXbDljA%2BeyngOpgDE8hEdUzK%2BHo20b70ZTaeiAguq25k7N2oth%2B5ehKd4if2hfcUu960eEoYU4qiPhVe4EDJseThPsoRQ6rCUXS%2BWUHEmm4GcXzyHgo0g8vmcW9cw5N0Jsvj"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445012cf5d05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6054&min_rtt=5244&rtt_var=864&sent=40&recv=28&lost=0&retrans=0&sent_bytes=27775&recv_bytes=7280&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=425&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ag%2BKQEpj0buU0i7O%2BXbDljA%2BeyngOpgDE8hEdUzK%2BHo20b70ZTaeiAguq25k7N2oth%2B5ehKd4if2hfcUu960eEoYU4qiPhVe4EDJseThPsoRQ6rCUXS%2BWUHEmm4GcXzyHgo0g8vmcW9cw5N0Jsvj"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445012cf5d05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6054&min_rtt=5244&rtt_var=864&sent=40&recv=28&lost=0&retrans=0&sent_bytes=27775&recv_bytes=7280&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=425&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:143:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential MUST have property "credentialSubject"
|
✓
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:154:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:153:33)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:154:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=i1geJg3%2BjHaO%2BSyBKO29%2BWY04kenMpiij6Vs9Jk%2BFzNa34w9PxGnaRThzXPJwsyauP0qaNWGEaKJEY%2Fv3kbVBJfe63PjjhJ2lHS43J1VLdKnzT896IGtjYjKCYnSzaeGwhfHj%2BDAyT0%2Fx0qJF212"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445012ff8305e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6181&min_rtt=5235&rtt_var=1066&sent=43&recv=30&lost=0&retrans=0&sent_bytes=30509&recv_bytes=7905&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=453&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=i1geJg3%2BjHaO%2BSyBKO29%2BWY04kenMpiij6Vs9Jk%2BFzNa34w9PxGnaRThzXPJwsyauP0qaNWGEaKJEY%2Fv3kbVBJfe63PjjhJ2lHS43J1VLdKnzT896IGtjYjKCYnSzaeGwhfHj%2BDAyT0%2Fx0qJF212"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90445012ff8305e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6181&min_rtt=5235&rtt_var=1066&sent=43&recv=30&lost=0&retrans=0&sent_bytes=30509&recv_bytes=7905&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=453&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:154:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
"credential.credentialSubject" MUST be an object
|
❌
Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 500 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:168:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
AssertionError: Expected status code 400 or 422.: expected 404 to be one of [ 400, 422 ]
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:14:26)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:168:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:167:35)
|
✓
|
✓
|
✓
|
✓
|
❌
Expected an HTTP error response code.: expected undefined to exist
AssertionError: Expected an HTTP error response code.: expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:11:10)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:168:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '21', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=EFLfU1UMJCESpRRmbVwX58F6jTa9B7gysE2WlylorXvlAw%2BQ%2B%2BceuEJYrFRErDh8RHMyyGJRNkjRjntUQzdUyyW5zBS5TJQK065ISvUz2d0Rn08i1z4mK7Ygp19W57CPsfzT0Fycs9YxYObog%2FIa"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450132faa05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6109&min_rtt=5235&rtt_var=776&sent=47&recv=33&lost=0&retrans=0&sent_bytes=33274&recv_bytes=8555&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=493&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from issuer.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:09:28 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '21', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=EFLfU1UMJCESpRRmbVwX58F6jTa9B7gysE2WlylorXvlAw%2BQ%2B%2BceuEJYrFRErDh8RHMyyGJRNkjRjntUQzdUyyW5zBS5TJQK065ISvUz2d0Rn08i1z4mK7Ygp19W57CPsfzT0Fycs9YxYObog%2FIa"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '904450132faa05e7-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=6109&min_rtt=5235&rtt_var=776&sent=47&recv=33&lost=0&retrans=0&sent_bytes=33274&recv_bytes=8555&delivery_rate=1138392&cwnd=256&unsent_bytes=0&cid=e8ca273781bca7ac&ts=493&x=0"', Authorization: '** SANITIZED TO PREVENT EXPOSING OF SECRETS ***' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldThrowInvalidInput (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:9:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:168:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
credential MAY have property "expirationDate"
|
✓
|
❌
Expected no error, got Request failed with status code 404 Not Found: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Expected no error, got Request failed with status code 404 Not Found: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:193:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
✓
|
✓
|
❌
Request failed with status code 401 Unauthorized
HTTPError: Request failed with status code 401 Unauthorized
at fn (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/ky/distribution/core/Ky.js:28:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleResponse (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/@digitalbazaar/http-client/lib/httpClient.js:101:16)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:46:14)
at async _requestAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:94:41)
at async _getNewAccessToken (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:78:9)
at async constructOAuthHeader (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/oauth2.js:24:25)
at async makeHttpsRequest (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/node_modules/vc-test-suite-implementations/lib/requests.js:43:29)
at async Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:192:33)
|
✓
|
✓
|
❌
Expected no error, got credential.validFrom must be a valid ISO 8601 date string,credential.validFrom should not be empty: expected HTTPError { message: [ …(2) ], …(6) } to not exist
AssertionError: Expected no error, got credential.validFrom must be a valid ISO 8601 date string,credential.validFrom should not be empty: expected HTTPError { message: [ …(2) ], …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:193:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected no error, got Request failed with status code 400 Bad Request: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected no error, got Request failed with status code 400 Bad Request: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:193:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
❌
Expected no error, got fetch failed: expected TypeError: fetch failed { …(2) } to not exist
AssertionError: Expected no error, got fetch failed: expected TypeError: fetch failed { …(2) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at shouldReturnResult (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/assertions.js:19:14)
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:193:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
✓
|
✓
|
❌
Expected statusCode 201.: expected 200 to equal 201
AssertionError: Expected statusCode 201.: expected 200 to equal 201
at Context.<anonymous> (file:///home/runner/work/vc-api-issuer-test-suite/vc-api-issuer-test-suite/tests/10-issuer.js:194:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|