Skip to content

Commit b587910

Browse files
committed
Fix test
1 parent 0229fda commit b587910

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

routers/web/admin/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ import (
1212
)
1313

1414
func TestMain(m *testing.M) {
15-
models.MainTest(m, filepath.Join("..", ".."))
15+
models.MainTest(m, filepath.Join("..", "..", ".."))
1616
}

routers/web/repo/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ import (
1212
)
1313

1414
func TestMain(m *testing.M) {
15-
models.MainTest(m, filepath.Join("..", ".."))
15+
models.MainTest(m, filepath.Join("..", "..", ".."))
1616
}

routers/web/user/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ import (
1212
)
1313

1414
func TestMain(m *testing.M) {
15-
models.MainTest(m, filepath.Join("..", ".."))
15+
models.MainTest(m, filepath.Join("..", "..", ".."))
1616
}

routers/web/user/setting/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ import (
1212
)
1313

1414
func TestMain(m *testing.M) {
15-
models.MainTest(m, filepath.Join("..", "..", ".."))
15+
models.MainTest(m, filepath.Join("..", "..", "..", ".."))
1616
}

0 commit comments

Comments
 (0)