diff --git a/irmaclient/irmaclient_test.go b/irmaclient/irmaclient_test.go index d4716175..5fd900a2 100644 --- a/irmaclient/irmaclient_test.go +++ b/irmaclient/irmaclient_test.go @@ -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) {