Skip to content

Commit 6909a0f

Browse files
authored
Reminder unnecessary test
1 parent 6537838 commit 6909a0f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

integrations/links_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,6 @@ func TestRedirectsNoLogin(t *testing.T) {
6161
resp := MakeRequest(t, req, http.StatusFound)
6262
assert.EqualValues(t, path.Join(setting.AppSubURL, redirectLink), test.RedirectURL(resp))
6363
}
64-
65-
var temporaryRedirects = map[string]string{
66-
"/user2/repo1/": "/user2/repo1",
67-
}
68-
for link, redirectLink := range temporaryRedirects {
69-
req := NewRequest(t, "GET", link)
70-
resp := MakeRequest(t, req, http.StatusTemporaryRedirect)
71-
assert.EqualValues(t, path.Join(setting.AppSubURL, redirectLink), test.RedirectURL(resp))
72-
}
73-
7464
}
7565

7666
func TestNoLoginNotExist(t *testing.T) {

0 commit comments

Comments
 (0)