summaryrefslogtreecommitdiffstats
path: root/integrations/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/user_test.go')
-rw-r--r--integrations/user_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/integrations/user_test.go b/integrations/user_test.go
index ddb46da317..da39234c3b 100644
--- a/integrations/user_test.go
+++ b/integrations/user_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/test"
"github.com/Unknwon/i18n"
"github.com/stretchr/testify/assert"
@@ -86,7 +87,7 @@ func TestRenameReservedUsername(t *testing.T) {
})
resp := session.MakeRequest(t, req, http.StatusFound)
- req = NewRequest(t, "GET", RedirectURL(t, resp))
+ req = NewRequest(t, "GET", test.RedirectURL(resp))
resp = session.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)
assert.Contains(t,