Merge branch 'master' into graceful-queues

This commit is contained in:
Lunny Xiao
2020-01-07 16:42:14 +08:00
committed by GitHub
12 changed files with 83 additions and 27 deletions
+5
View File
@@ -99,5 +99,10 @@ func TestSettingLandingPage(t *testing.T) {
resp = MakeRequest(t, req, http.StatusFound)
assert.Equal(t, "/explore/organizations", resp.Header().Get("Location"))
setting.LandingPageURL = setting.LandingPageLogin
req = NewRequest(t, "GET", "/")
resp = MakeRequest(t, req, http.StatusFound)
assert.Equal(t, "/user/login", resp.Header().Get("Location"))
setting.LandingPageURL = landingPage
}