mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
fix some test cases
This commit is contained in:
parent
7621e10840
commit
e05735bc0f
3 changed files with 3 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ class TestMakeIndex(TestCase):
|
|||
|
||||
class TestRenamer(DirectoriesMixin, TestCase):
|
||||
|
||||
@override_settings(PAPERLESS_FILENAME_FORMAT="")
|
||||
def test_rename(self):
|
||||
doc = Document.objects.create(title="test", mime_type="application/pdf")
|
||||
doc.filename = generate_filename(doc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue