Explorar o código

Leftover from previous commit

Cristian Le %!s(int64=5) %!d(string=hai) anos
pai
achega
f38a72a62b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      authority/provisioner/provisioner_test.go

+ 1 - 1
authority/provisioner/provisioner_test.go

@@ -145,7 +145,7 @@ func TestDefaultIdentityFunc(t *testing.T) {
 	for name, get := range tests {
 		t.Run(name, func(t *testing.T) {
 			tc := get(t)
-			identity, err := DefaultIdentityFunc(context.Background(), tc.p, tc.email, tc.usernames...)
+			identity, err := DefaultIdentityFunc(context.Background(), tc.p, tc.email)
 			if err != nil {
 				if assert.NotNil(t, tc.err) {
 					assert.Equals(t, tc.err.Error(), err.Error())