2018-05-17 14:05:00 +10:00
|
|
|
// Copyright 2018 The Gitea Authors. All rights reserved.
|
2022-11-28 05:20:29 +11:00
|
|
|
// SPDX-License-Identifier: MIT
|
2018-05-17 14:05:00 +10:00
|
|
|
|
2021-06-09 09:33:54 +10:00
|
|
|
package admin
|
2018-05-17 14:05:00 +10:00
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
"testing"
|
|
|
|
|
2021-11-13 01:36:47 +11:00
|
|
|
"code.gitea.io/gitea/models/unittest"
|
2018-05-17 14:05:00 +10:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2022-04-14 23:58:21 +10:00
|
|
|
unittest.MainTest(m, &unittest.TestOptions{
|
|
|
|
GiteaRootPath: filepath.Join("..", "..", ".."),
|
|
|
|
})
|
2018-05-17 14:05:00 +10:00
|
|
|
}
|