0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 23:36:29 +01:00
gitea/services/mailer
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
..
mail_comment.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
mail_issue.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mail_release.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
mail_repo.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mail_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mail.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mailer_test.go Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) 2021-12-10 19:43:28 +00:00
mailer.go allways set a message-id on mails (#17900) 2021-12-08 15:34:23 +08:00
main_test.go