-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Allain Magyar <[email protected]>
- Loading branch information
1 parent
ad946cf
commit fd0de0e
Showing
9 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 14 additions & 3 deletions
17
tests/integration-tests/src/test/resources/features/oid4vci/manage_issuer.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
@oid4vci | ||
Feature: Manage OID4VCI credential issuer | ||
|
||
Scenario: Successfully create credential issuer | ||
Scenario: Successfully create credential issuer | ||
When Issuer creates an oid4vci issuer | ||
Then Issuer sees the oid4vci issuer exists on the agent | ||
And Issuer sees the oid4vci issuer on IssuerMetadata endpoint | ||
|
||
Scenario: Successfully update credential issuer | ||
Scenario: Successfully update credential issuer | ||
Given Issuer has an existing oid4vci issuer | ||
When Issuer updates the oid4vci issuer | ||
Then Issuer sees the oid4vci issuer updated with new values | ||
And Issuer sees the oid4vci IssuerMetadata endpoint updated with new values | ||
|
||
Scenario: Successfully delete credential issuer | ||
Scenario: Successfully delete credential issuer | ||
Given Issuer has an existing oid4vci issuer | ||
When Issuer deletes the oid4vci issuer | ||
Then Issuer cannot see the oid4vci issuer on the agent | ||
And Issuer cannot see the oid4vci IssuerMetadata endpoint | ||
|
||
@test | ||
Scenario Outline: Create issuer with wrong data should not work | ||
When Issuer tries to create oid4vci issuer with '<id>', '<url>', '<clientId>' and '<clientSecret>' | ||
Then Issuer should see the oid4vci error '<error>' | ||
Examples: | ||
| id | url | clientId | clientSecret | error | | ||
| null | null | null | null | | | ||
| | | | | | | ||
| empty | empty | empty | empty | | | ||
| 1 | {} | null | null | | |