0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 16:31:41 +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 Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
asymkey Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
attachment Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
auth Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
comments Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
cron Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
externalaccount Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
forms Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
gitdiff Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
issue Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
lfs Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mailer Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) 2021-12-10 19:43:28 +00:00
migrations Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mirror Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
org Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
pull Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
release Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
repository Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
task Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
user Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
webhook Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
wiki Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00