Skip to content

Commit

Permalink
CWALL-175: fixed one of the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed May 22, 2024
1 parent 04e343d commit cece763
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit cece763

Please sign in to comment.