mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Lol, these were the only 2 uncovered lines
This commit is contained in:
parent
6b36ee7819
commit
18bdf0cef7
@ -2117,6 +2117,7 @@ class TestWorkflows(
|
|||||||
to="user@example.com",
|
to="user@example.com",
|
||||||
include_document=False,
|
include_document=False,
|
||||||
)
|
)
|
||||||
|
self.assertEqual(str(email_action), f"Workflow Email Action {email_action.id}")
|
||||||
action = WorkflowAction.objects.create(
|
action = WorkflowAction.objects.create(
|
||||||
type=WorkflowAction.WorkflowActionType.EMAIL,
|
type=WorkflowAction.WorkflowActionType.EMAIL,
|
||||||
email=email_action,
|
email=email_action,
|
||||||
@ -2316,6 +2317,10 @@ class TestWorkflows(
|
|||||||
url="http://paperless-ngx.com",
|
url="http://paperless-ngx.com",
|
||||||
include_document=False,
|
include_document=False,
|
||||||
)
|
)
|
||||||
|
self.assertEqual(
|
||||||
|
str(webhook_action),
|
||||||
|
f"Workflow Webhook Action {webhook_action.id}",
|
||||||
|
)
|
||||||
action = WorkflowAction.objects.create(
|
action = WorkflowAction.objects.create(
|
||||||
type=WorkflowAction.WorkflowActionType.WEBHOOK,
|
type=WorkflowAction.WorkflowActionType.WEBHOOK,
|
||||||
webhook=webhook_action,
|
webhook=webhook_action,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user