mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
add test for ticket reminder (oops)
This commit is contained in:
@@ -543,6 +543,13 @@ class DownloadReminderTests(TestCase):
|
||||
send_download_reminders(sender=self.event)
|
||||
assert len(djmail.outbox) == 0
|
||||
|
||||
@classscope(attr='o')
|
||||
def test_not_sent_for_disabled_sales_channel(self):
|
||||
self.event.settings.mail_days_download_reminder = 2
|
||||
self.event.settings.mail_sales_channel_ticket_reminder = []
|
||||
send_download_reminders(sender=self.event)
|
||||
assert len(djmail.outbox) == 0
|
||||
|
||||
|
||||
class OrderCancelTests(TestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user