Skip to content

Commit 5444854

Browse files
committed
MAGETWO-97396: Tax applied on child product is based on Tax Class of parent product
1 parent b8bbd97 commit 5444854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Plugin/Tax/Model/Sales/Total/Quote/CommonTaxCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function testAfterMapItem()
7878

7979
/* @var TaxClassKeyInterface|MockObject $taxClassObjectMock */
8080
$taxClassObjectMock = $this->createMock(TaxClassKeyInterface::class);
81-
$taxClassObjectMock->method('setValue')->with($childTaxClassId);
81+
$taxClassObjectMock->expects($this->once())->method('setValue')->with($childTaxClassId);
8282

8383
/* @var QuoteDetailsItemInterface|MockObject $quoteDetailsItemMock */
8484
$quoteDetailsItemMock = $this->createMock(QuoteDetailsItemInterface::class);

0 commit comments

Comments
 (0)