diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-15 13:11:02 -0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-15 23:11:02 +0200 |
commit | befa7445d254cc88662015222c85ccd4c96b9a10 (patch) | |
tree | d9d7bc81d0eb05c026e8b6688871b38695d5af00 /integrations/release_test.go | |
parent | bde0409433531b024e30cf1a4d3e44051631ed85 (diff) | |
download | gitea-befa7445d254cc88662015222c85ccd4c96b9a10.tar.gz gitea-befa7445d254cc88662015222c85ccd4c96b9a10.zip |
Unit tests for routers/repo/issue_label (#3198)
Diffstat (limited to 'integrations/release_test.go')
-rw-r--r-- | integrations/release_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/integrations/release_test.go b/integrations/release_test.go index bce1c88fdf..461d3306d8 100644 --- a/integrations/release_test.go +++ b/integrations/release_test.go @@ -9,6 +9,8 @@ import ( "net/http" "testing" + "code.gitea.io/gitea/modules/test" + "github.com/Unknwon/i18n" "github.com/stretchr/testify/assert" ) @@ -38,7 +40,7 @@ func createNewRelease(t *testing.T, session *TestSession, repoURL, tag, title st resp = session.MakeRequest(t, req, http.StatusFound) - RedirectURL(t, resp) // check that redirect URL exists + test.RedirectURL(resp) // check that redirect URL exists } func checkLatestReleaseAndCount(t *testing.T, session *TestSession, repoURL, version, label string, count int) { |