From f2e788f4b12517759e016a9f48633597bed82e8f Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 5 May 2016 16:36:42 -0400 Subject: Allow system admins to switch user accounts to email/password (#2893) --- api/admin_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'api/admin_test.go') diff --git a/api/admin_test.go b/api/admin_test.go index 1d8f6bb6b..933c3d59c 100644 --- a/api/admin_test.go +++ b/api/admin_test.go @@ -462,10 +462,6 @@ func TestAdminResetPassword(t *testing.T) { LinkUserToTeam(user2, team) store.Must(Srv.Store.User().VerifyEmail(user2.Id)) - if _, err := Client.AdminResetPassword(user2.Id, "newpwd"); err == nil { - t.Fatal("should have errored - SSO user can't reset password") - } - if _, err := Client.AdminResetPassword(user.Id, "newpwd"); err != nil { t.Fatal(err) } -- cgit v1.2.3-1-g7c22