We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aff6b2 commit df0f304Copy full SHA for df0f304
tests/integration/git_smart_http_test.go
@@ -80,7 +80,7 @@ func testGitSmartHTTP(t *testing.T, u *url.URL) {
80
}
81
82
func testRenamedRepoRedirect(t *testing.T) {
83
- defer test.MockVariableValue(&setting.Service.RequireSignInView, true)()
+ defer test.MockVariableValue(&setting.Service.RequireSignInViewStrict, true)()
84
85
// git client requires to get a 301 redirect response before 401 unauthorized response
86
req := NewRequest(t, "GET", "/user2/oldrepo1/info/refs")
0 commit comments