Migrate tests from mfa_test.go to use testify (#12720)

Этот коммит содержится в:
Phillip Ahereza
2019-10-16 06:09:12 +03:00
коммит произвёл jfrerich
родитель 1a2197ec8e
Коммит 42b011b81d

Просмотреть файл

@@ -41,9 +41,7 @@ func TestGenerateSecret(t *testing.T) {
assert.Len(t, secret, 32)
if len(img) == 0 {
t.Fatal("no image set")
}
require.NotEmpty(t, img, "no image set")
config.ServiceSettings.EnableMultifactorAuthentication = model.NewBool(false)