Better settings for unit tests (#795)

This commit is contained in:
Ethan Koenig 2017-01-30 00:17:43 -05:00 committed by Lunny Xiao
parent 78535fb08e
commit 7765593018
2 changed files with 11 additions and 5 deletions

View file

@ -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())
}