mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 15:11:17 +00:00
Move email backend check to execute_email_action for consistency
This commit is contained in:
@@ -3096,7 +3096,7 @@ class TestWorkflows(
|
||||
original_filename="sample.pdf",
|
||||
)
|
||||
|
||||
with self.assertLogs("paperless.handlers", level="ERROR") as cm:
|
||||
with self.assertLogs("paperless.workflows.actions", level="ERROR") as cm:
|
||||
run_workflows(WorkflowTrigger.WorkflowTriggerType.DOCUMENT_UPDATED, doc)
|
||||
|
||||
expected_str = "Email backend has not been configured"
|
||||
|
||||
Reference in New Issue
Block a user