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