Skip to content

Commit

Permalink
Update EudiWalletConfigTest.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaioannou committed May 23, 2024
1 parent 25c70f7 commit 2f7e4e4
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ class EudiWalletConfigTest {
ClientIdScheme.Preregistered(
listOf(
PreregisteredVerifier(
"Verifier", "https://example.com"
"VerifierClientId",
"VerifierLegalName",
"https://example.com"
)
)
),
Expand All @@ -83,9 +85,13 @@ class EudiWalletConfigTest {
(config.openId4VPConfig?.clientIdSchemes?.get(0) as ClientIdScheme.Preregistered).preregisteredVerifiers[0].verifierApi
)
assertEquals(
"Verifier",
"VerifierClientId",
(config.openId4VPConfig?.clientIdSchemes?.get(0) as ClientIdScheme.Preregistered).preregisteredVerifiers[0].clientId
)
assertEquals(
"VerifierLegalName",
(config.openId4VPConfig?.clientIdSchemes?.get(0) as ClientIdScheme.Preregistered).preregisteredVerifiers[0].legalName
)
assertEquals(ClientIdScheme.X509SanDns, config.openId4VPConfig?.clientIdSchemes?.get(1))
assertEquals(EncryptionAlgorithm.ECDH_ES, config.openId4VPConfig?.encryptionAlgorithms?.get(0))
assertEquals(EncryptionMethod.A128CBC_HS256, config.openId4VPConfig?.encryptionMethods?.get(0))
Expand Down

0 comments on commit 2f7e4e4

Please sign in to comment.