2022-05-11 18:09:36 +08:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2022-11-28 02:20:29 +08:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-05-11 18:09:36 +08:00
|
|
|
|
2022-06-15 15:02:00 +08:00
|
|
|
package access_test
|
2022-05-11 18:09:36 +08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
|
|
|
|
2022-06-15 15:02:00 +08:00
|
|
|
_ "code.gitea.io/gitea/models"
|
2023-09-08 12:51:15 +08:00
|
|
|
_ "code.gitea.io/gitea/models/actions"
|
|
|
|
_ "code.gitea.io/gitea/models/activities"
|
2022-05-11 18:09:36 +08:00
|
|
|
_ "code.gitea.io/gitea/models/repo"
|
2022-06-15 15:02:00 +08:00
|
|
|
_ "code.gitea.io/gitea/models/user"
|
2022-05-11 18:09:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2023-09-28 09:38:53 +08:00
|
|
|
unittest.MainTest(m)
|
2022-05-11 18:09:36 +08:00
|
|
|
}
|