Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jun 6, 2021
1 parent 0229fda commit b587910
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion routers/web/admin/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import (
)

func TestMain(m *testing.M) {
models.MainTest(m, filepath.Join("..", ".."))
models.MainTest(m, filepath.Join("..", "..", ".."))
}
2 changes: 1 addition & 1 deletion routers/web/repo/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import (
)

func TestMain(m *testing.M) {
models.MainTest(m, filepath.Join("..", ".."))
models.MainTest(m, filepath.Join("..", "..", ".."))
}
2 changes: 1 addition & 1 deletion routers/web/user/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import (
)

func TestMain(m *testing.M) {
models.MainTest(m, filepath.Join("..", ".."))
models.MainTest(m, filepath.Join("..", "..", ".."))
}
2 changes: 1 addition & 1 deletion routers/web/user/setting/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import (
)

func TestMain(m *testing.M) {
models.MainTest(m, filepath.Join("..", "..", ".."))
models.MainTest(m, filepath.Join("..", "..", "..", ".."))
}

0 comments on commit b587910

Please sign in to comment.