mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-27 04:21:11 +00:00
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 | ||