code.gitea.io/gitea@v1.21.7/models/project/main_test.go (about)

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