mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fixes newly added mail tests to account for model change
This commit is contained in:
parent
330e47f0b7
commit
f5c05e1283
@ -852,7 +852,7 @@ class TestMail(DirectoriesMixin, TestCase):
|
||||
_ = MailRule.objects.create(
|
||||
name="testrule",
|
||||
account=account,
|
||||
action=MailRule.AttachmentAction.MARK_READ,
|
||||
action=MailRule.MailAction.MARK_READ,
|
||||
)
|
||||
|
||||
self.assertEqual(len(self.bogus_mailbox.messages), 3)
|
||||
@ -885,7 +885,7 @@ class TestMail(DirectoriesMixin, TestCase):
|
||||
_ = MailRule.objects.create(
|
||||
name="testrule",
|
||||
account=account,
|
||||
action=MailRule.AttachmentAction.MARK_READ,
|
||||
action=MailRule.MailAction.MARK_READ,
|
||||
)
|
||||
|
||||
self.assertRaises(
|
||||
|
Loading…
x
Reference in New Issue
Block a user