mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
Better settings for unit tests (#795)
This commit is contained in:
@@ -30,8 +30,8 @@ func TestMain(m *testing.M) {
|
||||
setting.RunUser = "runuser"
|
||||
setting.SSH.Port = 3000
|
||||
setting.SSH.Domain = "try.gitea.io"
|
||||
setting.RepoRootPath = "/repos"
|
||||
setting.AppDataPath = "/appdata"
|
||||
setting.RepoRootPath = "/tmp/repos"
|
||||
setting.AppDataPath = "/tmp/appdata"
|
||||
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
Reference in New Issue
Block a user