Cristian Le 5 лет назад
Родитель
Сommit
f38a72a62b
1 измененных файлов с 1 добавлено и 1 удалено
  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())