UPD: improved the providing of real test data.
This commit is contained in:
@@ -92,7 +92,7 @@ class EmailsTestCase(EmailTestMixin, EventMixin, RegistrationMixin, TestCase):
|
||||
app_config = apps.get_app_config('dav_events')
|
||||
app_config.settings.enable_email_on_status_update = False
|
||||
|
||||
self.event = self.create_event()
|
||||
self.event = self.create_event_by_model()
|
||||
self.submit_event(self.event)
|
||||
self.accept_event(self.event)
|
||||
self.confirm_publication_event(self.event)
|
||||
|
||||
Reference in New Issue
Block a user