From 84826bf5632a9afb2c621b8cbcf935ad03943997 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 31 Mar 2017 10:00:01 -0400 Subject: Re-enable MFA test (#5911) --- api4/user_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api4/user_test.go') 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() -- cgit v1.2.3-1-g7c22