aboutsummaryrefslogtreecommitdiffstats
path: root/tests/e2e/e2e_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/e2e_test.go')
-rw-r--r--tests/e2e/e2e_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go
index c4b0b62199..df4fe95fdb 100644
--- a/tests/e2e/e2e_test.go
+++ b/tests/e2e/e2e_test.go
@@ -28,7 +28,7 @@ import (
"code.gitea.io/gitea/tests"
)
-var c *web.Route
+var testE2eWebRoutes *web.Route
func TestMain(m *testing.M) {
defer log.GetManager().Close()
@@ -38,7 +38,7 @@ func TestMain(m *testing.M) {
defer cancel()
tests.InitTest(false)
- c = routers.NormalRoutes()
+ testE2eWebRoutes = routers.NormalRoutes()
os.Unsetenv("GIT_AUTHOR_NAME")
os.Unsetenv("GIT_AUTHOR_EMAIL")