From 61143b3ad1adc65845e7f316e5a7253fb0bffafc Mon Sep 17 00:00:00 2001
From: jonaswinkler <jonas.winkler@jpwinkler.de>
Date: Sun, 7 Feb 2021 19:53:08 +0100
Subject: [PATCH] make the test case fail

---
 src/documents/tests/test_consumer.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/documents/tests/test_consumer.py b/src/documents/tests/test_consumer.py
index 8ead1ea41..280124f48 100644
--- a/src/documents/tests/test_consumer.py
+++ b/src/documents/tests/test_consumer.py
@@ -538,6 +538,7 @@ class TestConsumer(DirectoriesMixin, TestCase):
 
         self._assert_first_last_send_progress(last_status="FAILED")
 
+    @override_settings(PAPERLESS_FILENAME_FORMAT="{title}")
     @mock.patch("documents.parsers.document_consumer_declaration.send")
     def test_similar_filenames(self, m):
         shutil.copy(os.path.join(os.path.dirname(__file__), "samples", "simple.pdf"), os.path.join(settings.CONSUMPTION_DIR, "simple.pdf"))