0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 15:34:39 +01:00
gitea/services
zeripath f550e356d6
Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941)
Running `make test-backend` will delete `data/` due to reloading the configuration and resetting the appdatapath.

This PR removes this unnecessary config reload but also adds extra code in to the unittest main to prevent its cleanup from deleting the wrong directory.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-10 19:43:28 +00:00
..
agit
asymkey Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
attachment
auth Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
comments
cron Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
externalaccount
forms
gitdiff
issue
lfs
mailer Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) 2021-12-10 19:43:28 +00:00
migrations
mirror
org
pull Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
release
repository Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
task
user Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
webhook
wiki Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00