File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
dev/tests/integration/testsuite/Magento/Braintree/Controller/Adminhtml/Invoice Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ protected function tearDown()
62
62
* during creation second partial invoice.
63
63
*
64
64
* @return void
65
- * @magentoConfigFixture default_store payment/braintree/merchant_account_id Magneto
65
+ * @magentoConfigFixture default_store payment/braintree/merchant_account_id Magento
66
66
* @magentoConfigFixture current_store payment/braintree/merchant_account_id USA_Merchant
67
67
* @magentoDataFixture Magento/Braintree/Fixtures/partial_invoice.php
68
68
*/
@@ -71,11 +71,14 @@ public function testCreatePartialInvoiceWithNonDefaultMerchantAccount(): void
71
71
$ order = $ this ->getOrder ('100000002 ' );
72
72
73
73
$ this ->adapter ->method ('sale ' )
74
- ->with (self ::callback (function ($ request ) {
75
- self ::assertEquals ('USA_Merchant ' , $ request ['merchantAccountId ' ]);
76
- return true ;
77
- }))
78
- ->willReturn ($ this ->getTransactionStub ());
74
+ ->with (
75
+ self ::callback (
76
+ function ($ request ) {
77
+ self ::assertEquals ('USA_Merchant ' , $ request ['merchantAccountId ' ]);
78
+ return true ;
79
+ }
80
+ )
81
+ )->willReturn ($ this ->getTransactionStub ());
79
82
80
83
$ uri = 'backend/sales/order_invoice/save/order_id/ ' . $ order ->getEntityId ();
81
84
$ this ->prepareRequest ($ uri );
You can’t perform that action at this time.
0 commit comments