Skip to content

Commit 9daf8cb

Browse files
authored
Merge pull request #16 from softwareone-platform/MPT-9902_fix_wrong_termination_order_type
MPT-9902 type for termination orders is 'Termination' not 'Terminate'
2 parents bb10505 + 7a8f0de commit 9daf8cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ffc/flows/order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
MPT_ORDER_STATUS_COMPLETED = "Completed"
1111

1212
ORDER_TYPE_PURCHASE = "Purchase"
13-
ORDER_TYPE_TERMINATE = "Terminate"
13+
ORDER_TYPE_TERMINATE = "Termination"
1414

1515
PURCHASE_TEMPLATE_NAME = "Purchase"
1616
TERMINATE_TEMPLATE_NAME = "Terminate"

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def processing_change_order(order_factory):
508508
@pytest.fixture()
509509
def processing_termination_order(order_factory):
510510
return order_factory(
511-
order_type="Terminate",
511+
order_type="Termination",
512512
order_parameters=[],
513513
)
514514

0 commit comments

Comments
 (0)