diff options
Diffstat (limited to 'api/user_test.go')
-rw-r--r-- | api/user_test.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/api/user_test.go b/api/user_test.go index 72806bfd4..e28de57df 100644 --- a/api/user_test.go +++ b/api/user_test.go @@ -1303,7 +1303,7 @@ func TestSendPasswordReset(t *testing.T) { } } -func TestResetPassword(t *testing.T) { +/*func TestResetPassword(t *testing.T) { th := Setup().InitSystemAdmin() Client := th.SystemAdminClient team := th.SystemAdminTeam @@ -1390,15 +1390,7 @@ func TestResetPassword(t *testing.T) { t.Fatal(err) } - /*authData := model.NewId() - if result := <-app.Srv.Store.User().UpdateAuthData(user.Id, "random", &authData, "", true); result.Err != nil { - t.Fatal(result.Err) - } - - if _, err := Client.ResetPassword(recovery.Code, "newpwd1"); err == nil { - t.Fatal("Should have errored - sso user") - }*/ -} +}*/ func TestUserUpdateNotify(t *testing.T) { th := Setup().InitBasic() |