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)
|
assert.Len(t, secret, 32)
|
||||||
|
|
||||||
if len(img) == 0 {
|
require.NotEmpty(t, img, "no image set")
|
||||||
t.Fatal("no image set")
|
|
||||||
}
|
|
||||||
|
|
||||||
config.ServiceSettings.EnableMultifactorAuthentication = model.NewBool(false)
|
config.ServiceSettings.EnableMultifactorAuthentication = model.NewBool(false)
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user