summaryrefslogtreecommitdiffstats
path: root/integrations/repo_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_branch_test.go')
-rw-r--r--integrations/repo_branch_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/integrations/repo_branch_test.go b/integrations/repo_branch_test.go
index df7f97bd24..c20fd6192c 100644
--- a/integrations/repo_branch_test.go
+++ b/integrations/repo_branch_test.go
@@ -10,6 +10,8 @@ import (
"strings"
"testing"
+ "code.gitea.io/gitea/modules/test"
+
"github.com/Unknwon/i18n"
"github.com/stretchr/testify/assert"
)
@@ -29,7 +31,7 @@ func testCreateBranch(t *testing.T, session *TestSession, user, repo, oldRefSubU
if expectedStatus != http.StatusFound {
return ""
}
- return RedirectURL(t, resp)
+ return test.RedirectURL(resp)
}
func TestCreateBranch(t *testing.T) {