diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-31 10:00:01 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-03-31 10:00:01 -0400 |
commit | 84826bf5632a9afb2c621b8cbcf935ad03943997 (patch) | |
tree | aee017ee7dde55a301a23c397901167896d30aae /api4/user_test.go | |
parent | 5d56fbb036cc7044eae639c92836e0b14ffe7dab (diff) | |
download | chat-84826bf5632a9afb2c621b8cbcf935ad03943997.tar.gz chat-84826bf5632a9afb2c621b8cbcf935ad03943997.tar.bz2 chat-84826bf5632a9afb2c621b8cbcf935ad03943997.zip |
Re-enable MFA test (#5911)
Diffstat (limited to 'api4/user_test.go')
-rw-r--r-- | api4/user_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/user_test.go b/api4/user_test.go index 7653601e0..220ed124f 100644 --- a/api4/user_test.go +++ b/api4/user_test.go @@ -1177,7 +1177,7 @@ func TestCheckUserMfa(t *testing.T) { } } -/*func TestGenerateMfaSecret(t *testing.T) { +func TestGenerateMfaSecret(t *testing.T) { th := Setup().InitBasic().InitSystemAdmin() defer TearDown() Client := th.Client @@ -1198,7 +1198,7 @@ func TestCheckUserMfa(t *testing.T) { _, resp = th.SystemAdminClient.GenerateMfaSecret(th.BasicUser.Id) CheckNotImplementedStatus(t, resp) -}*/ +} func TestUpdateUserPassword(t *testing.T) { th := Setup().InitBasic().InitSystemAdmin() |