2022-05-11 15:39:36 +05:30
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2022-05-11 15:39:36 +05:30
|
|
|
|
2022-06-15 12:32:00 +05:30
|
|
|
package access_test
|
2022-05-11 15:39:36 +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"
|
2023-09-08 10:21:15 +05:30
|
|
|
_ "code.gitea.io/gitea/models/actions"
|
|
|
|
_ "code.gitea.io/gitea/models/activities"
|
2022-05-11 15:39:36 +05:30
|
|
|
_ "code.gitea.io/gitea/models/repo"
|
2022-06-15 12:32:00 +05:30
|
|
|
_ "code.gitea.io/gitea/models/user"
|
2022-05-11 15:39:36 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
|
|
|
unittest.MainTest(m, &unittest.TestOptions{
|
|
|
|
GiteaRootPath: filepath.Join("..", "..", ".."),
|
|
|
|
})
|
|
|
|
}
|