Skip to content

Commit 6bb0840

Browse files
committed
MAGETWO-48048: Bundle product price on category view isn't included custom option price
- Fix static tests
1 parent 42d772d commit 6bb0840

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/Bundle/Test/Unit/Pricing/Price/FinalPriceTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
use Magento\Catalog\Pricing\Price\CustomOptionPrice;
1111
use Magento\Bundle\Model\Product\Price;
1212
use Magento\Catalog\Api\ProductCustomOptionRepositoryInterface;
13+
use Magento\Framework\Pricing\PriceCurrencyInterface;
1314
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
1415

16+
/**
17+
* @SuppressWarnings(PHPMD)
18+
*/
1519
class FinalPriceTest extends \PHPUnit_Framework_TestCase
1620
{
1721
/** @var \Magento\Bundle\Pricing\Price\FinalPrice */
@@ -45,8 +49,8 @@ class FinalPriceTest extends \PHPUnit_Framework_TestCase
4549
protected $customOptionPriceMock;
4650

4751
/**
48-
* @var \Magento\Framework\Pricing\PriceCurrencyInterface|\PHPUnit_Framework_MockObject_MockObject
49-
*/
52+
* @var PriceCurrencyInterface|\PHPUnit_Framework_MockObject_MockObject
53+
*/
5054
protected $priceCurrencyMock;
5155

5256
/**

0 commit comments

Comments
 (0)