mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Fix LogEntry user when PAPERLESS_DISABLE_LOGIN is set to true
This commit is contained in:
parent
b733b32c1d
commit
3aafabba26
3 changed files with 27 additions and 2 deletions
|
|
@ -210,7 +210,7 @@ class TestDocumentConsumptionFinishedSignal(TestCase):
|
|||
|
||||
def setUp(self):
|
||||
TestCase.setUp(self)
|
||||
User.objects.create_user(username='testuser', password='12345')
|
||||
User.objects.create_user(username='test_consumer', password='12345')
|
||||
self.doc_contains = Document.objects.create(
|
||||
content="I contain the keyword.", file_type="pdf")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue