diff --git a/packages/oid4vci-issuer-rest-client/__tests__/shared/issuanceRestClientAgentLogic.ts b/packages/oid4vci-issuer-rest-client/__tests__/shared/issuanceRestClientAgentLogic.ts index f85b63857..7c64843cd 100644 --- a/packages/oid4vci-issuer-rest-client/__tests__/shared/issuanceRestClientAgentLogic.ts +++ b/packages/oid4vci-issuer-rest-client/__tests__/shared/issuanceRestClientAgentLogic.ts @@ -24,7 +24,8 @@ export default (testContext: { getAgent: () => ConfiguredAgent; setup: () => Pro user_pin_required: false, }, }, - credentials: ['dbc2023'], + credential_configuration_ids: ['dbc2023'], + credential_issuer: 'https://dbc2023.test.sphereon.com/issuer/dbc2023', }) expect(result).toEqual({ uri: 'openid-credential-offer://?credential_offer=%7B%22grants%22%3A%7B%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%221234%22%2C%22user_pin_required%22%3Afalse%7D%7D%2C%22credentials%22%3A%5B%22dbc2023%22%5D%2C%22credential_issuer%22%3A%22https%3A%2F%2Fdbc2023.test.sphereon.com%2Fissuer%2Fdbc2023%22%7D', @@ -39,7 +40,8 @@ export default (testContext: { getAgent: () => ConfiguredAgent; setup: () => Pro user_pin_required: false, }, }, - credentials: ['dbc2023'], + credential_configuration_ids: ['dbc2023'], + credential_issuer: 'https://dbc2023.test.sphereon.com/issuer/dbc2023', }) expect(result).toEqual({ uri: 'openid-credential-offer://?credential_offer=%7B%22grants%22%3A%7B%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%221234%22%2C%22user_pin_required%22%3Afalse%7D%7D%2C%22credentials%22%3A%5B%22dbc2023%22%5D%2C%22credential_issuer%22%3A%22https%3A%2F%2Fdbc2023.test.sphereon.com%2Fissuer%2Fdbc2023%22%7D',