Skip to content

Commit e669cc4

Browse files
authored
ENGCOM-6022: Fix small typo #24890
2 parents 349d318 + e538ef4 commit e669cc4

File tree

1 file changed

+9
-6
lines changed
  • dev/tests/integration/testsuite/Magento/Braintree/Controller/Adminhtml/Invoice

1 file changed

+9
-6
lines changed

dev/tests/integration/testsuite/Magento/Braintree/Controller/Adminhtml/Invoice/CreateTest.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected function tearDown()
6262
* during creation second partial invoice.
6363
*
6464
* @return void
65-
* @magentoConfigFixture default_store payment/braintree/merchant_account_id Magneto
65+
* @magentoConfigFixture default_store payment/braintree/merchant_account_id Magento
6666
* @magentoConfigFixture current_store payment/braintree/merchant_account_id USA_Merchant
6767
* @magentoDataFixture Magento/Braintree/Fixtures/partial_invoice.php
6868
*/
@@ -71,11 +71,14 @@ public function testCreatePartialInvoiceWithNonDefaultMerchantAccount(): void
7171
$order = $this->getOrder('100000002');
7272

7373
$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());
7982

8083
$uri = 'backend/sales/order_invoice/save/order_id/' . $order->getEntityId();
8184
$this->prepareRequest($uri);

0 commit comments

Comments
 (0)