Commit d92ce2b9 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix keyshare integration test

parent 8a71e975
......@@ -207,10 +207,10 @@ func enrollKeyshareServer(t *testing.T, client *Client) {
func TestKeyshareEnrollmentAndSessions(t *testing.T) {
client := parseStorage(t)
client.credentials[irma.NewCredentialTypeIdentifier("test.test.mijnirma")] = map[int]*credential{}
test := irma.NewSchemeManagerIdentifier("test")
err := client.KeyshareRemove(test)
require.NoError(t, err)
require.NoError(t, client.RemoveCredentialByHash(
client.Attributes(irma.NewCredentialTypeIdentifier("test.test.mijnirma"), 0).Hash(),
))
require.NoError(t, client.KeyshareRemove(irma.NewSchemeManagerIdentifier("test")))
enrollKeyshareServer(t, client)
id := irma.NewAttributeTypeIdentifier("irma-demo.RU.studentCard.studentID")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment