File tree 2 files changed +2
-2
lines changed
tests/integration/migration-test
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
"github.com/stretchr/testify/assert"
10
10
)
11
11
12
- func TestDetectGiteaRoot (t * testing.T ) {
12
+ func TestSetupGiteaRoot (t * testing.T ) {
13
13
t .Setenv ("GITEA_ROOT" , "test" )
14
14
assert .Equal (t , "test" , SetupGiteaRoot ())
15
15
t .Setenv ("GITEA_ROOT" , "" )
Original file line number Diff line number Diff line change 4
4
package migrations
5
5
6
6
import (
7
- "code.gitea.io/gitea/modules/test"
8
7
"compress/gzip"
9
8
"context"
10
9
"database/sql"
@@ -26,6 +25,7 @@ import (
26
25
"code.gitea.io/gitea/modules/git"
27
26
"code.gitea.io/gitea/modules/log"
28
27
"code.gitea.io/gitea/modules/setting"
28
+ "code.gitea.io/gitea/modules/test"
29
29
"code.gitea.io/gitea/modules/testlogger"
30
30
"code.gitea.io/gitea/modules/util"
31
31
"github.com/stretchr/testify/assert"
You can’t perform that action at this time.
0 commit comments