mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-10 00:18:57 +00:00
Fix: correct PAPERLESS_EMPTY_TRASH_DIR to Path (#10227)
This commit is contained in:
@@ -188,7 +188,7 @@ class TestFileHandling(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
|
||||
|
||||
@override_settings(
|
||||
FILENAME_FORMAT="{correspondent}/{correspondent}",
|
||||
EMPTY_TRASH_DIR=tempfile.mkdtemp(),
|
||||
EMPTY_TRASH_DIR=Path(tempfile.mkdtemp()),
|
||||
)
|
||||
def test_document_delete_trash_dir(self):
|
||||
document = Document()
|
||||
|
Reference in New Issue
Block a user