Logo
Explore Help
Sign In
MarcoBuster/gitea
1
0
Fork 0
You've already forked gitea
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 13:37:58 +01:00
Code Issues Packages Projects Releases Wiki Activity
gitea/routers/web/repo/setting/main_test.go

15 lines
225 B
Go
Raw Normal View History

Move some files under repo/setting (#25585) There are too many files under `routers/web/repo` and the file `routers/web/repo/setting.go` is too big. This PR move all setting related routers' body functions under `routers/web/repo/setting` and also split `routers/web/repo/setting.go`
2023-07-02 08:59:32 +08:00
// Copyright 2017 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package setting
import (
"testing"
"code.gitea.io/gitea/models/unittest"
)
func TestMain(m *testing.M) {
make writing main test easier (#27270) This PR removed `unittest.MainTest` the second parameter `TestOptions.GiteaRoot`. Now it detects the root directory by current working directory. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-28 09:38:53 +08:00
unittest.MainTest(m)
Move some files under repo/setting (#25585) There are too many files under `routers/web/repo` and the file `routers/web/repo/setting.go` is too big. This PR move all setting related routers' body functions under `routers/web/repo/setting` and also split `routers/web/repo/setting.go`
2023-07-02 08:59:32 +08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 327ms Template: 4ms
English
English Italiano
Licenses API