Skip to content

Commit c801458

Browse files
committed
ACP2E-4245: Bundle product price issue on cart page
- Fixed Unit test
1 parent 37be5d2 commit c801458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Tax/Test/Unit/Block/Item/Price/RendererTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,11 @@ public function testGetItemDisplayPriceExclTaxQuoteItem()
359359
/** @var \Magento\Quote\Model\Quote\Item|MockObject $quoteItemMock */
360360
$quoteItemMock = $this->getMockBuilder(\Magento\Quote\Model\Quote\Item::class)
361361
->disableOriginalConstructor()
362-
->onlyMethods(['getCalculationPrice', '__wakeup'])
362+
->onlyMethods(['getPrice', '__wakeup'])
363363
->getMock();
364364

365365
$quoteItemMock->expects($this->once())
366-
->method('getCalculationPrice')
366+
->method('getPrice')
367367
->willReturn($price);
368368

369369
$this->renderer->setItem($quoteItemMock);

0 commit comments

Comments
 (0)