You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main_test.go 469B

12345678910111213141516171819202122232425
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package project
  4. import (
  5. "path/filepath"
  6. "testing"
  7. "code.gitea.io/gitea/models/unittest"
  8. _ "code.gitea.io/gitea/models/repo"
  9. )
  10. func TestMain(m *testing.M) {
  11. unittest.MainTest(m, &unittest.TestOptions{
  12. GiteaRootPath: filepath.Join("..", ".."),
  13. FixtureFiles: []string{
  14. "project.yml",
  15. "project_board.yml",
  16. "project_issue.yml",
  17. "repository.yml",
  18. },
  19. })
  20. }