Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/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.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08: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
mailer.go allways set a message-id on mails (#17900) 2021-12-08 15:34:23 +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
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00