Skip to content

Commit 1a12acd

Browse files
committed
fix test
1 parent b06374d commit 1a12acd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/git/url/url_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ func TestParseGitURLs(t *testing.T) {
173173

174174
func TestParseRepositoryURL(t *testing.T) {
175175
defer test.MockVariableValue(&setting.AppURL, "https://localhost:3000")()
176+
defer test.MockVariableValue(&setting.SSH.Domain, "try.gitea.io")()
176177

177178
ctxURL, _ := url.Parse("https://gitea")
178179
ctxReq := &http.Request{URL: ctxURL, Header: http.Header{}}

0 commit comments

Comments
 (0)