mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +01:00
Update no content warning to be more clear it is missing OCR content
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
This commit is contained in:
parent
277b521fad
commit
9335b0779c
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class TestSanityCheck(DirectoriesMixin, TestCase):
|
|||
self.assertFalse(messages.has_error)
|
||||
self.assertFalse(messages.has_warning)
|
||||
self.assertEqual(len(messages), 1)
|
||||
self.assertRegex(messages[doc.pk][0]["message"], "Document has no content.")
|
||||
self.assertRegex(messages[doc.pk][0]["message"], "Document contains no OCR data.")
|
||||
|
||||
def test_orphaned_file(self):
|
||||
doc = self.make_test_data()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue