mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
21b94765ce
Use MockVariableValue to avoid undesirable side effects between tests modifying global variables. TestToMessage relies on *setting.MailService being set, which will not be the case if run individually with test-sqlite#TestToMessage and fail. |
||
---|---|---|
.. | ||
incoming | ||
token | ||
mail.go | ||
mail_admin_new_user.go | ||
mail_admin_new_user_test.go | ||
mail_comment.go | ||
mail_issue.go | ||
mail_release.go | ||
mail_repo.go | ||
mail_team_invite.go | ||
mail_test.go | ||
mailer.go | ||
mailer_test.go | ||
main_test.go | ||
notify.go |