Skip to content

Commit 7613fac

Browse files
committed
MAGETWO-58533: [Backport] - Loading of order page with a lot of items in admin. - for 2.1
1 parent 043cd51 commit 7613fac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/OrderTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,9 @@ protected function preparePaymentMock($paymentMock)
757757
*/
758758
protected function _prepareOrderPayment($order, $mockedMethods = [])
759759
{
760-
$payment = $this->getMockBuilder(\Magento\Sales\Model\Order\Payment::class)->disableOriginalConstructor()->getMock();
760+
$payment = $this->getMockBuilder(\Magento\Sales\Model\Order\Payment::class)
761+
->disableOriginalConstructor()
762+
->getMock();
761763
foreach ($mockedMethods as $method => $value) {
762764
$payment->expects($this->any())->method($method)->will($this->returnValue($value));
763765
}

0 commit comments

Comments
 (0)