Better settings for unit tests (#795)

This commit is contained in:
Ethan Koenig authored and Lunny Xiao committed 2017-01-30 13:17:43 +08:00
1 parent 78535fb08e
commit 7765593018
2 files changed
+11 -5

No files matched your search

+2 -2
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())
}