Leftover from previous commit

This commit is contained in:
Cristian Le 2021-05-05 10:17:08 +09:00
parent 1d2445e1d8
commit f38a72a62b

View file

@ -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())