diff --git a/tests/integration/disable_forgotten_password_test.go b/tests/integration/disable_forgotten_password_test.go index 2970b34c83..4004fadcdc 100644 --- a/tests/integration/disable_forgotten_password_test.go +++ b/tests/integration/disable_forgotten_password_test.go @@ -14,7 +14,7 @@ import ( func TestDisableForgottenPasswordFalse(t *testing.T) { defer tests.PrepareTestEnv(t)() defer test.MockVariableValue(&setting.Service.EnableInternalSignIn, true)() - + req := NewRequest(t, "GET", "/user/login/") resp := MakeRequest(t, req, http.StatusOK) doc := NewHTMLParser(t, resp.Body).Find("a") @@ -69,4 +69,3 @@ func TestDisableForgottenPasswordDefault(t *testing.T) { } assert.EqualValues(t, 1, counterInstances) } -