Skip to content

Commit b88d88e

Browse files
committed
#23440 add unit test - fix test code style warning
1 parent 4807ebb commit b88d88e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/CreditmemoFactoryTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ public function testCanRefundItem()
5656
);
5757
$orderChildItemTwo->expects($this->any())->method('getQtyToRefund')->willReturn(1);
5858
$orderChildItemTwo->expects($this->any())->method('getId')->willReturn(3);
59-
$orderItem->expects($this->any())->method('getChildrenItems')->willReturn([$orderChildItemOne, $orderChildItemTwo]);
59+
$orderItem->expects($this->any())
60+
->method('getChildrenItems')
61+
->willReturn([$orderChildItemOne, $orderChildItemTwo]);
6062
$testMethod = new \ReflectionMethod(
6163
\Magento\Sales\Model\Order\CreditmemoFactory::class,
6264
'canRefundItem'

0 commit comments

Comments
 (0)