Commit 2b4991b
Update EmailTemplate mocking in all test files
- Replace @patch("..tasks.EmailTemplate") with sent_emails fixture
- Add EmailTemplateFactory instances with correct identifiers
- Replace mock assertions with sent_emails() assertions
- Verify template identifier, conference, recipients, and placeholders
This ensures tests use real EmailTemplate instances instead of mocks,
improving test reliability and coverage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Marco Acierno <[email protected]>1 parent 71d1fdd commit 2b4991b
File tree
4 files changed
+376
-247
lines changed- backend
- grants/tests
- schedule/tests
- sponsors/tests
- visa/tests
4 files changed
+376
-247
lines changed
0 commit comments