aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_test.go')
-rw-r--r--integrations/repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/repo_test.go b/integrations/repo_test.go
index 8465bbdc5a..a18bfabdf3 100644
--- a/integrations/repo_test.go
+++ b/integrations/repo_test.go
@@ -71,6 +71,6 @@ func TestViewRepo1CloneLinkAuthorized(t *testing.T) {
assert.Equal(t, setting.AppURL+"user2/repo1.git", link)
link, exists = htmlDoc.doc.Find("#repo-clone-ssh").Attr("data-link")
assert.True(t, exists, "The template has changed")
- sshURL := fmt.Sprintf("%s@%s:user2/repo1.git", setting.RunUser, setting.SSH.Domain)
+ sshURL := fmt.Sprintf("ssh://%s@%s:%d/user2/repo1.git", setting.RunUser, setting.SSH.Domain, setting.SSH.Port)
assert.Equal(t, sshURL, link)
}