Skip to content

Commit f9595df

Browse files
committed
Fix GetPriceConfigurationObserverTest product object mock
1 parent f6d4575 commit f9595df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Tax/Test/Unit/Observer/GetPriceConfigurationObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function testExecute($testArray, $expectedArray)
118118

119119
$product = $this->createPartialMock(
120120
\Magento\Bundle\Model\Product\Type::class,
121-
['getTypeInstance', 'getTypeId', 'getStoreId', 'getSelectionsCollection']
121+
['getTypeInstance', 'getTypeId', 'getStoreId', 'getSelectionsCollection','getId']
122122
);
123123
$product->expects($this->any())
124124
->method('getTypeInstance')

0 commit comments

Comments
 (0)