File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/integration/migration-test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 99 "github.com/stretchr/testify/assert"
1010)
1111
12- func TestDetectGiteaRoot (t * testing.T ) {
12+ func TestSetupGiteaRoot (t * testing.T ) {
1313 t .Setenv ("GITEA_ROOT" , "test" )
1414 assert .Equal (t , "test" , SetupGiteaRoot ())
1515 t .Setenv ("GITEA_ROOT" , "" )
Original file line number Diff line number Diff line change 44package migrations
55
66import (
7- "code.gitea.io/gitea/modules/test"
87 "compress/gzip"
98 "context"
109 "database/sql"
@@ -26,6 +25,7 @@ import (
2625 "code.gitea.io/gitea/modules/git"
2726 "code.gitea.io/gitea/modules/log"
2827 "code.gitea.io/gitea/modules/setting"
28+ "code.gitea.io/gitea/modules/test"
2929 "code.gitea.io/gitea/modules/testlogger"
3030 "code.gitea.io/gitea/modules/util"
3131 "github.com/stretchr/testify/assert"
You can’t perform that action at this time.
0 commit comments