Skip to content

Commit

Permalink
Test: remove nonexistent requestor scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ivard committed Nov 29, 2023
1 parent 5000d8c commit 95076b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions irmaclient/irmaclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ func TestRemoveSchemes(t *testing.T) {
for wizardID := range client.Configuration.IssueWizards {
require.False(t, strings.HasPrefix(wizardID.String(), testRequestorsSchemeID.String()))
}

// Remove nonexistent requestor scheme
err = client.RemoveRequestorScheme(irma.NewRequestorSchemeIdentifier("nonexistent"))
require.Error(t, err)
}

func TestWrongSchemeManager(t *testing.T) {
Expand Down

0 comments on commit 95076b2

Please sign in to comment.