Skip to content

Commit 02b271e

Browse files
committed
Fix test
1 parent 9fa83dc commit 02b271e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

models/login/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
package login
66

77
import (
8+
"path/filepath"
89
"testing"
910

1011
"code.gitea.io/gitea/models/db"
1112
)
1213

1314
func TestMain(m *testing.M) {
14-
db.MainTest(m, "..", "..")
15+
db.MainTest(m, filepath.Join("..", ".."))
1516
}

0 commit comments

Comments
 (0)