debug
This commit is contained in:
@@ -235,17 +235,17 @@ $assertSame(
|
||||
'non-shipment callbacks must not change local fulfillment'
|
||||
);
|
||||
$assertSame(
|
||||
true,
|
||||
false,
|
||||
EjPharmacyShipmentPolicy::isCompletedEvent(['event_type' => 'WORKFLOW_STEP_COMPLETED', 'status' => 'COMPLETED', 'final' => true]),
|
||||
'a final EJ workflow callback must be recognized as order completion'
|
||||
'a final EJ workflow callback must remain a process update, not order completion'
|
||||
);
|
||||
$assertSame(
|
||||
3,
|
||||
2,
|
||||
EjPharmacyShipmentPolicy::nextFulfillmentStatus(
|
||||
2,
|
||||
['event_type' => 'WORKFLOW_STEP_COMPLETED', 'status' => 'COMPLETED', 'final' => true]
|
||||
),
|
||||
'a final EJ workflow callback must advance ZYT fulfillment to completed'
|
||||
'a final EJ workflow callback must not change ZYT fulfillment'
|
||||
);
|
||||
$assertSame(
|
||||
2,
|
||||
@@ -424,7 +424,6 @@ $assertSame(
|
||||
$assertSame(
|
||||
true,
|
||||
str_contains($controllerSource, '订单药房流转制作中')
|
||||
&& str_contains($controllerSource, '订单已完成')
|
||||
&& str_contains($controllerSource, '流程:')
|
||||
&& str_contains($controllerSource, '药房:洛阳药房')
|
||||
&& str_contains($controllerSource, "implode(\$isWorkflowStep ? ' | ' : ';', \$summaryParts)"),
|
||||
|
||||
Reference in New Issue
Block a user