Skip to content

Commit 9bd0929

Browse files
committed
Disabling the payment method after testing
1 parent 526d2d2 commit 9bd0929

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateOrderAndCheckTheReorderTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<after>
4747
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
4848
<actionGroup ref="logout" stepKey="adminLogout"/>
49+
<magentoCLI command="config:set payment/cashondelivery/active 0" stepKey="disableCashOnDeliveryMethod"/>
4950
<deleteData createDataKey="simpleCustomer" stepKey="deleteSimpleCustomer"/>
5051
<deleteData createDataKey="simpleProduct" stepKey="deleteSimpleProduct"/>
5152
</after>

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateOrderWithSimpleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
</actionGroup>
4545
<after>
4646
<actionGroup ref="logout" stepKey="logout"/>
47+
<magentoCLI command="config:set payment/cashondelivery/active 0" stepKey="disableCashOnDeliveryMethod"/>
4748
<deleteData createDataKey="simpleCustomer" stepKey="deleteSimpleCustomer"/>
4849
<deleteData createDataKey="simpleProduct" stepKey="deleteSimpleProduct"/>
4950
</after>

0 commit comments

Comments
 (0)