mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-02 15:09:33 -05:00
test: init bot storage path
This commit is contained in:
parent
0c1d568e1d
commit
dccddd045e
@ -105,6 +105,8 @@ func MainTest(m *testing.M, testOpts *TestOptions) {
|
||||
|
||||
setting.Packages.Storage.Path = filepath.Join(setting.AppDataPath, "packages")
|
||||
|
||||
setting.Bots.Storage.Path = filepath.Join(setting.AppDataPath, "bots_log")
|
||||
|
||||
setting.Git.HomePath = filepath.Join(setting.AppDataPath, "home")
|
||||
|
||||
if err = storage.Init(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user