diff --git a/ocm/client_test.go b/ocm/client_test.go index 6494224d5081ccc4e7f6333638784dee3369bd5c..909c9f5f1f2fbbf1ab7969d370c965b5e5e4478b 100644 --- a/ocm/client_test.go +++ b/ocm/client_test.go @@ -25,7 +25,7 @@ func Test_GetLoginProofInvitationSuccess(t *testing.T) { })) client := ocm.New(ocmServer.URL) - res, err := client.GetLoginProofInvitation(context.Background(), "type=principalMembershipCredential") + res, err := client.GetLoginProofInvitation(context.Background(), []string{"principalMembershipCredential"}) assert.NoError(t, err) assert.Equal(t, expected.StatusCode, res.StatusCode) @@ -39,7 +39,7 @@ func Test_GetLoginProofInvitationErr(t *testing.T) { })) client := ocm.New(ocmServer.URL) - res, err := client.GetLoginProofInvitation(context.Background(), "type=principalMembershipCredential") + res, err := client.GetLoginProofInvitation(context.Background(), []string{"principalMembershipCredential"}) assert.Nil(t, res) assert.Error(t, err)