Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jun 11, 2024
1 parent 49a3340 commit 5bfb4ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/app/shared/helper_functions/helper_functions_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,12 @@ void main() {
() async => handleErrorForOID4VCI(
url: 'example',
openIdConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
authorizationServer: 'example',
tokenEndpoint: null,
),
authorizationServerConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
tokenEndpoint: null,
),
),
Expand All @@ -471,12 +473,14 @@ void main() {
() async => handleErrorForOID4VCI(
url: 'example',
openIdConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
authorizationServer: 'example',
tokenEndpoint: null,
credentialEndpoint: null,
),
authorizationServerConfiguration: const OpenIdConfiguration(
tokenEndpoint: 'https://example.com/token',
requirePushedAuthorizationRequests: false,
),
),
throwsA(
Expand All @@ -494,12 +498,14 @@ void main() {
() async => handleErrorForOID4VCI(
url: 'example',
openIdConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
authorizationServer: 'example',
tokenEndpoint: null,
credentialEndpoint: 'https://example.com/cred',
credentialIssuer: null,
),
authorizationServerConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
tokenEndpoint: 'https://example.com/token',
),
),
Expand All @@ -520,6 +526,7 @@ void main() {
() async => handleErrorForOID4VCI(
url: 'example',
openIdConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
authorizationServer: 'example',
tokenEndpoint: null,
credentialEndpoint: 'https://example.com/cred',
Expand All @@ -528,6 +535,7 @@ void main() {
credentialConfigurationsSupported: null,
),
authorizationServerConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
tokenEndpoint: 'https://example.com/token',
),
),
Expand All @@ -548,6 +556,7 @@ void main() {
() async => handleErrorForOID4VCI(
url: 'example',
openIdConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
authorizationServer: 'example',
tokenEndpoint: null,
credentialEndpoint: 'https://example.com/cred',
Expand All @@ -557,6 +566,7 @@ void main() {
subjectSyntaxTypesSupported: ['asd'],
),
authorizationServerConfiguration: const OpenIdConfiguration(
requirePushedAuthorizationRequests: false,
tokenEndpoint: 'https://example.com/token',
),
),
Expand Down

0 comments on commit 5bfb4ad

Please sign in to comment.