Skip to content

Commit 95191b8

Browse files
committed
MAGETWO-50651: Pull request support
1 parent c7ab6bd commit 95191b8

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Checkout/Test/Unit/CustomerData

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/Test/Unit/CustomerData/CartTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ public function testGetSectionData()
171171
$this->assertEquals($expectedResult, $this->model->getSectionData());
172172
}
173173

174+
/**
175+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
176+
*/
174177
public function testGetSectionDataWithCompositeProduct()
175178
{
176179
$summaryQty = 100;
@@ -211,7 +214,6 @@ public function testGetSectionDataWithCompositeProduct()
211214
->willReturn($subtotalValue);
212215
$this->checkoutHelperMock->expects($this->once())->method('canOnepageCheckout')->willReturn(true);
213216

214-
215217
$quoteMock->expects($this->once())->method('getAllVisibleItems')->willReturn([$quoteItemMock]);
216218

217219
$productMock = $this->getMock(

0 commit comments

Comments
 (0)