2022-03-29 11:59:02 +05:30
|
|
|
// Copyright 2021 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2022-03-29 11:59:02 +05:30
|
|
|
|
2022-06-15 12:32:00 +05:30
|
|
|
package organization_test
|
2022-03-29 11:59:02 +05:30
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
2022-06-15 12:32:00 +05:30
|
|
|
|
|
|
|
_ "code.gitea.io/gitea/models"
|
|
|
|
_ "code.gitea.io/gitea/models/organization"
|
|
|
|
_ "code.gitea.io/gitea/models/repo"
|
|
|
|
_ "code.gitea.io/gitea/models/user"
|
2022-03-29 11:59:02 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2022-04-14 19:28:21 +05:30
|
|
|
unittest.MainTest(m, &unittest.TestOptions{
|
|
|
|
GiteaRootPath: filepath.Join("..", ".."),
|
|
|
|
})
|
2022-03-29 11:59:02 +05:30
|
|
|
}
|