mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
explicitly configure DisableLegacyMFA for TestCheckUserMfa (#10401)
This commit is contained in:
@@ -1811,6 +1811,10 @@ func TestCheckUserMfa(t *testing.T) {
|
||||
th := Setup().InitBasic()
|
||||
defer th.TearDown()
|
||||
|
||||
th.App.UpdateConfig(func(c *model.Config) {
|
||||
*c.ServiceSettings.DisableLegacyMFA = false
|
||||
})
|
||||
|
||||
required, resp := th.Client.CheckUserMfa(th.BasicUser.Email)
|
||||
CheckNoError(t, resp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user