Skip to content

Commit 68c4bc8

Browse files
committed
ACP2E-1120: extend new statuses that can apply for new placed order with free payment
1 parent 39b41ef commit 68c4bc8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Payment/Test/Unit/Model/Method/FreeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function setUp(): void
8484
* @return void
8585
* @dataProvider getConfigPaymentActionProvider
8686
*/
87-
public function testGetConfigPaymentAction($orderStatus, $paymentAction, $result, $stateStatuses): void
87+
public function testGetConfigPaymentAction($orderStatus, $paymentAction, $result): void
8888
{
8989

9090
if ($orderStatus != 'pending') {

app/code/Magento/Payment/etc/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<active>1</active>
1313
<model>Magento\Payment\Model\Method\Free</model>
1414
<order_status>pending</order_status>
15+
<payment_action>authorize_capture</payment_action>
1516
<title>No Payment Information Required</title>
1617
<allowspecific>0</allowspecific>
1718
<sort_order>1</sort_order>

0 commit comments

Comments
 (0)