Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 4fa2c73

Browse files
MAGETWO-80371: Exception when product added to cart with tiered price reduced to $0.00
1 parent afcbf0b commit 4fa2c73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Product/Attribute/Backend/TierpriceTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ public function testSetPriceData()
180180
->disableOriginalConstructor()->getMock();
181181
$allCustomersGroup = $this->getMockBuilder(\Magento\Customer\Api\Data\GroupInterface::class)
182182
->disableOriginalConstructor()->getMock();
183-
$this->groupManagement->expects($this->exactly(2))->method('getAllCustomersGroup')->willReturn($allCustomersGroup);
183+
$this->groupManagement
184+
->expects($this->exactly(2))
185+
->method('getAllCustomersGroup')
186+
->willReturn($allCustomersGroup);
184187
$allCustomersGroup->expects($this->exactly(2))->method('getId')->willReturn($allCustomersGroupId);
185188
$object->expects($this->once())->method('getPrice')->willReturn($productPrice);
186189
$this->attribute->expects($this->atLeastOnce())->method('isScopeGlobal')->willReturn(true);

0 commit comments

Comments
 (0)