Migrate tests from mfa_test.go to use testify (#12720)
Этот коммит содержится в:
коммит произвёл
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)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user