mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
Better settings for unit tests (#795)
This commit is contained in:
parent
78535fb08e
commit
7765593018
2 changed files with 11 additions and 5 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue