Skip to content

Commit 279b61b

Browse files
committed
Static test fix
1 parent 5db0a0d commit 279b61b

File tree

1 file changed

+8
-5
lines changed
  • dev/tests/integration/testsuite/Magento/Braintree/Controller/Adminhtml/Invoice

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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)