MUST successfully issue a credential.
|
β
Expected no error, got Unknown DID: did:key:z6Mkj8h3kzWZrPiucoyY9LGCTpXhCqBoX3doDmHz5MaPxnvi: expected HTTPError: Unknown DID: did:key:z6Mkj8h3kβ¦ { β¦(6) } to not exist
AssertionError: Expected no error, got Unknown DID: did:key:z6Mkj8h3kzWZrPiucoyY9LGCTpXhCqBoX3doDmHz5MaPxnvi: expected HTTPError: Unknown DID: did:key:z6Mkj8h3kβ¦ { β¦(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 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:49: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:97: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:81: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:27: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:46: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 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 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 to "https://w3c-test-suite.vc-api-owf.dev/v1/vc-api/credentials/issue" timed out.: expected TimeoutError: Request to "https://w3c-tesβ¦ { β¦(2) } to not exist
AssertionError: Expected no error, got Request to "https://w3c-test-suite.vc-api-owf.dev/v1/vc-api/credentials/issue" timed out.: expected TimeoutError: Request to "https://w3c-tesβ¦ { β¦(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 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 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:49: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:97: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:81: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:27: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:46: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 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, 11 May 2025 05:11:48 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': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=k5W8svEXz8aI111sGMrGoKVCkOWPwISweiQ8NhMYP9oPWUry6jI%2BfqYXLupGNVi0qORqpmnOFmz%2BJosjSH5O50eDY%2F0%2FJB4vlL%2FbCDj7LYHZQCQn2MkuyxlJrVuR5V3U1y3M6b5CUA9nqX1rfcrY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d821e0124f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1142&min_rtt=1086&rtt_var=284&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5703&recv_bytes=1914&delivery_rate=4540540&cwnd=255&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=485&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:48 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': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=k5W8svEXz8aI111sGMrGoKVCkOWPwISweiQ8NhMYP9oPWUry6jI%2BfqYXLupGNVi0qORqpmnOFmz%2BJosjSH5O50eDY%2F0%2FJB4vlL%2FbCDj7LYHZQCQn2MkuyxlJrVuR5V3U1y3M6b5CUA9nqX1rfcrY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d821e0124f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1142&min_rtt=1086&rtt_var=284&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5703&recv_bytes=1914&delivery_rate=4540540&cwnd=255&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=485&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lShA4XuMdOIX6ZnGpiRHqTHzH9%2FNJ0azQ%2BJyRTOQBNXWypYjzHZqOGSuWVSLD5IwbjjzhT%2F5K7Zuo5XWoRlP33FkPCnVCPAsoJ%2FqHDfsaPLApsUIssgk7Iax732tLR1t%2FKPDR%2FVCLFv4LKg%2F3SNW"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d82ae7124f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1590&min_rtt=1086&rtt_var=1052&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8434&recv_bytes=2571&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=586&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lShA4XuMdOIX6ZnGpiRHqTHzH9%2FNJ0azQ%2BJyRTOQBNXWypYjzHZqOGSuWVSLD5IwbjjzhT%2F5K7Zuo5XWoRlP33FkPCnVCPAsoJ%2FqHDfsaPLApsUIssgk7Iax732tLR1t%2FKPDR%2FVCLFv4LKg%2F3SNW"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d82ae7124f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1590&min_rtt=1086&rtt_var=1052&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8434&recv_bytes=2571&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=586&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5WETV3mIEJAdbQYK%2B%2FbFiqh6Hi4yG87HT997H2JCSKKl7mxP3h9ep9BP2kBL%2FulOSVIQDq78wOEgJ6iqX%2BFVjjQF0iG2QVHmM%2FsAXeVxw8zS2npXxiFrJrb6SeuMQ9PNhW%2Byq3YdBpgsCUAga2QV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d834ee824f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1918&min_rtt=1086&rtt_var=1399&sent=17&recv=12&lost=0&retrans=0&sent_bytes=11172&recv_bytes=3241&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=683&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5WETV3mIEJAdbQYK%2B%2FbFiqh6Hi4yG87HT997H2JCSKKl7mxP3h9ep9BP2kBL%2FulOSVIQDq78wOEgJ6iqX%2BFVjjQF0iG2QVHmM%2FsAXeVxw8zS2npXxiFrJrb6SeuMQ9PNhW%2Byq3YdBpgsCUAga2QV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d834ee824f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1918&min_rtt=1086&rtt_var=1399&sent=17&recv=12&lost=0&retrans=0&sent_bytes=11172&recv_bytes=3241&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=683&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Cl6AaQySFvxCYTTHcWzLBU0LipFjjAwBxGIsOJPJRshCovakBBMDV9qDLxcX%2BP5PPLq7HHQ2q%2FY2Tua9Jmd5j%2B3OIckOrv%2BdV9zKCLYS2%2FgVC7bhbcRAuhuZXZnWxLFKy%2FoEMkgNgxPdIFm8%2BSgB"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d83ef4d24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2245&min_rtt=1086&rtt_var=1752&sent=21&recv=14&lost=0&retrans=0&sent_bytes=13909&recv_bytes=3922&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=780&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Cl6AaQySFvxCYTTHcWzLBU0LipFjjAwBxGIsOJPJRshCovakBBMDV9qDLxcX%2BP5PPLq7HHQ2q%2FY2Tua9Jmd5j%2B3OIckOrv%2BdV9zKCLYS2%2FgVC7bhbcRAuhuZXZnWxLFKy%2FoEMkgNgxPdIFm8%2BSgB"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d83ef4d24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2245&min_rtt=1086&rtt_var=1752&sent=21&recv=14&lost=0&retrans=0&sent_bytes=13909&recv_bytes=3922&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=780&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ynlScN4HDwgtzAO9dWiYQxkJ%2B54%2FgUmteT1CAHxXv1yRJfEOozwZz9NwHBTmT5%2BIEF%2FiQtxz3zPUk6OG1O2qFUiWWAavoVW0z4415w%2BJwmS%2F%2B4lDj4TGwb6t4EYpYtGOZDpyw5XKDO2cdFOMMpKf"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d848fbe24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2359&min_rtt=1086&rtt_var=1640&sent=25&recv=16&lost=0&retrans=0&sent_bytes=16647&recv_bytes=4601&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=874&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ynlScN4HDwgtzAO9dWiYQxkJ%2B54%2FgUmteT1CAHxXv1yRJfEOozwZz9NwHBTmT5%2BIEF%2FiQtxz3zPUk6OG1O2qFUiWWAavoVW0z4415w%2BJwmS%2F%2B4lDj4TGwb6t4EYpYtGOZDpyw5XKDO2cdFOMMpKf"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d848fbe24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2359&min_rtt=1086&rtt_var=1640&sent=25&recv=16&lost=0&retrans=0&sent_bytes=16647&recv_bytes=4601&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=874&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RCNwGkEBqP7jq69Ki7Jf8rDGqAYirimyrpiw5DfFqD16fiTfgLP6h5qyUgr7G6i7UkQ7b7bJ4OdfJV%2BHB%2B9uhBlC9nUKjzVhoFvKi5R9IDMg5E%2FcucF18s6hWBRvqWM9vZykGnZ11bEpe0GQKuw2"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d85185324f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2216&min_rtt=1086&rtt_var=1517&sent=28&recv=18&lost=0&retrans=0&sent_bytes=19385&recv_bytes=5289&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=969&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RCNwGkEBqP7jq69Ki7Jf8rDGqAYirimyrpiw5DfFqD16fiTfgLP6h5qyUgr7G6i7UkQ7b7bJ4OdfJV%2BHB%2B9uhBlC9nUKjzVhoFvKi5R9IDMg5E%2FcucF18s6hWBRvqWM9vZykGnZ11bEpe0GQKuw2"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d85185324f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2216&min_rtt=1086&rtt_var=1517&sent=28&recv=18&lost=0&retrans=0&sent_bytes=19385&recv_bytes=5289&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=969&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wX9itttLU7mow0rG4hYQFbH8MuXEB983feQA41f%2B%2Bdp%2B4LHRH2gRTEdDd%2FE8%2BO9H%2FVI2R3fnFPzQBd2Dqmz30hjLWXKrRuA3zeYoGXWedskODf2Jvq%2BjAcEj4A5Y%2FnemJb%2B387VLzbUYauh88KT8"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d85b8b524f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2301&min_rtt=1086&rtt_var=1453&sent=32&recv=20&lost=0&retrans=0&sent_bytes=22116&recv_bytes=5980&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1064&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wX9itttLU7mow0rG4hYQFbH8MuXEB983feQA41f%2B%2Bdp%2B4LHRH2gRTEdDd%2FE8%2BO9H%2FVI2R3fnFPzQBd2Dqmz30hjLWXKrRuA3zeYoGXWedskODf2Jvq%2BjAcEj4A5Y%2FnemJb%2B387VLzbUYauh88KT8"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d85b8b524f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2301&min_rtt=1086&rtt_var=1453&sent=32&recv=20&lost=0&retrans=0&sent_bytes=22116&recv_bytes=5980&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1064&x=0"', Authorization: 'sanitized to prevent exposure 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-XSLlAlW2lEG6M8ZR5CwQwsLfyl0"', 'x-cloud-trace-context': 'ebf52280d9fc28d384d96ed749c7076d', date: 'Sun, 11 May 2025 05:10:52 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 exposure 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-XSLlAlW2lEG6M8ZR5CwQwsLfyl0"', 'x-cloud-trace-context': 'ebf52280d9fc28d384d96ed749c7076d', date: 'Sun, 11 May 2025 05:10:52 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 exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=sjFYhvD09IwjVnC7zXsu0HZadHRBRZHLexvmImXBgGRaYYojDPh8CoEALiDpnYkMgk3K9wSUZhbSR%2BsAcwtTG1c512uc1ovKBqfHwIE%2BSopWoa9uGuLbEPXaFrNOHP1KU6jNk0NUrQNNG98eAKAy"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d86491624f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2166&min_rtt=1086&rtt_var=1359&sent=36&recv=22&lost=0&retrans=0&sent_bytes=24860&recv_bytes=6623&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1158&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=sjFYhvD09IwjVnC7zXsu0HZadHRBRZHLexvmImXBgGRaYYojDPh8CoEALiDpnYkMgk3K9wSUZhbSR%2BsAcwtTG1c512uc1ovKBqfHwIE%2BSopWoa9uGuLbEPXaFrNOHP1KU6jNk0NUrQNNG98eAKAy"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d86491624f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2166&min_rtt=1086&rtt_var=1359&sent=36&recv=22&lost=0&retrans=0&sent_bytes=24860&recv_bytes=6623&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1158&x=0"', Authorization: 'sanitized to prevent exposure 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-vWCpELLUPjah3A6eT/r5z4V1tkY"', 'x-cloud-trace-context': 'f24d03beceadc64f84d96ed749c700bd', date: 'Sun, 11 May 2025 05:10:53 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 exposure 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-vWCpELLUPjah3A6eT/r5z4V1tkY"', 'x-cloud-trace-context': 'f24d03beceadc64f84d96ed749c700bd', date: 'Sun, 11 May 2025 05:10:53 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 exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=H%2B6iRrfq%2BjDxQhIwNK4NWJ10ieRxSL%2F0KLJh0XAdouTI%2BGge%2F6x81WT11tz3OonNL9RCCldl5NoMl4gaJlaLKk3cyAEM9kb6cL5VOW8mWeWTnPGfcHeJKBUmiZTN4fddxc8%2BP9ZHYY5UDEwePOG6"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d86e98e24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2067&min_rtt=1086&rtt_var=1219&sent=40&recv=24&lost=0&retrans=0&sent_bytes=27590&recv_bytes=7280&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1253&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=H%2B6iRrfq%2BjDxQhIwNK4NWJ10ieRxSL%2F0KLJh0XAdouTI%2BGge%2F6x81WT11tz3OonNL9RCCldl5NoMl4gaJlaLKk3cyAEM9kb6cL5VOW8mWeWTnPGfcHeJKBUmiZTN4fddxc8%2BP9ZHYY5UDEwePOG6"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d86e98e24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2067&min_rtt=1086&rtt_var=1219&sent=40&recv=24&lost=0&retrans=0&sent_bytes=27590&recv_bytes=7280&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1253&x=0"', Authorization: 'sanitized to prevent exposure 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=F2UORnkPfhtQPiKHIzdMD1CYzX00jG6QtGPdIRDit7NFXQ%2F1lVbX06WHC7pqev8ySg8sW71Gq4QtFTZ7xbyaB2bmqWVJwqt4eWXpO3P%2FDN1harhATgHhJxBiZ%2Fho2atStezYS04opNWaYl%2BEIcmF"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d877a0324f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1967&min_rtt=1086&rtt_var=1113&sent=43&recv=26&lost=0&retrans=0&sent_bytes=30328&recv_bytes=7905&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1348&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=F2UORnkPfhtQPiKHIzdMD1CYzX00jG6QtGPdIRDit7NFXQ%2F1lVbX06WHC7pqev8ySg8sW71Gq4QtFTZ7xbyaB2bmqWVJwqt4eWXpO3P%2FDN1harhATgHhJxBiZ%2Fho2atStezYS04opNWaYl%2BEIcmF"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d877a0324f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1967&min_rtt=1086&rtt_var=1113&sent=43&recv=26&lost=0&retrans=0&sent_bytes=30328&recv_bytes=7905&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1348&x=0"', Authorization: 'sanitized to prevent exposure 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 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:49: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:97: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:81: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:27: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:46: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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9Em2e5VD3oENyCl2lfPSPa4iYRKLv4wK8m1xVBpGVvEcRYC05ZcAwPYKg3dBcdC3DUu555gyc3j1bb18WvACzDRl2Ln10RQc3Vc2f4JOePobqZafZgGZraCwUoNneP7BnIrgy3RoU3GYwHtJddkC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d881a9d24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2119&min_rtt=1086&rtt_var=1243&sent=47&recv=28&lost=0&retrans=0&sent_bytes=33062&recv_bytes=8555&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1444&x=0"', Authorization: 'sanitized to prevent exposure 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, 11 May 2025 05:11:49 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9Em2e5VD3oENyCl2lfPSPa4iYRKLv4wK8m1xVBpGVvEcRYC05ZcAwPYKg3dBcdC3DUu555gyc3j1bb18WvACzDRl2Ln10RQc3Vc2f4JOePobqZafZgGZraCwUoNneP7BnIrgy3RoU3GYwHtJddkC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '93df2d881a9d24f7-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2119&min_rtt=1086&rtt_var=1243&sent=47&recv=28&lost=0&retrans=0&sent_bytes=33062&recv_bytes=8555&delivery_rate=4540540&cwnd=257&unsent_bytes=0&cid=7bfc72f112e4de4c&ts=1444&x=0"', Authorization: 'sanitized to prevent exposure 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 Unknown DID: did:key:z6Mkj8h3kzWZrPiucoyY9LGCTpXhCqBoX3doDmHz5MaPxnvi: expected HTTPError: Unknown DID: did:key:z6Mkj8h3kβ¦ { β¦(6) } to not exist
AssertionError: Expected no error, got Unknown DID: did:key:z6Mkj8h3kzWZrPiucoyY9LGCTpXhCqBoX3doDmHz5MaPxnvi: expected HTTPError: Unknown DID: did:key:z6Mkj8h3kβ¦ { β¦(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 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:49: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:97: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:81: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:27: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:46: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 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 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 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)
|