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 b06374d commit 1a12acdCopy full SHA for 1a12acd
modules/git/url/url_test.go
@@ -173,6 +173,7 @@ func TestParseGitURLs(t *testing.T) {
173
174
func TestParseRepositoryURL(t *testing.T) {
175
defer test.MockVariableValue(&setting.AppURL, "https://localhost:3000")()
176
+ defer test.MockVariableValue(&setting.SSH.Domain, "try.gitea.io")()
177
178
ctxURL, _ := url.Parse("https://gitea")
179
ctxReq := &http.Request{URL: ctxURL, Header: http.Header{}}
0 commit comments