File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Model/Product/Pricing/Renderer Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ interface SalableResolverInterface
19
19
* @return boolean
20
20
*/
21
21
public function isSalable ($ salableItem );
22
- }
22
+ }
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ class FinalPriceBoxTest extends \PHPUnit_Framework_TestCase
61
61
protected $ price ;
62
62
63
63
/**
64
- * @var \Magento\Catalog\Model\Product\Pricing\Renderer\SalableResolverInterface | \PHPUnit_Framework_MockObject_MockObject
64
+ * @var \Magento\Catalog\Model\Product\Pricing\Renderer\SalableResolverInterface
65
+ * | \PHPUnit_Framework_MockObject_MockObject
65
66
*/
66
67
private $ salableResolverMock ;
67
68
@@ -98,12 +99,9 @@ protected function setUp()
98
99
->disableOriginalConstructor ()
99
100
->getMock ();
100
101
101
- $ urlBuilder = $ this ->getMockBuilder (\Magento \Framework \UrlInterface::class)
102
- ->getMockForAbstractClass ();
103
-
104
- $ store = $ this ->getMockBuilder (\Magento \Store \Api \Data \StoreInterface::class)
105
- ->getMockForAbstractClass ();
102
+ $ urlBuilder = $ this ->getMockBuilder (\Magento \Framework \UrlInterface::class)->getMockForAbstractClass ();
106
103
104
+ $ store = $ this ->getMockBuilder (\Magento \Store \Api \Data \StoreInterface::class)->getMockForAbstractClass ();
107
105
$ storeManager = $ this ->getMockBuilder (\Magento \Store \Model \StoreManagerInterface::class)
108
106
->setMethods (['getStore ' , 'getCode ' ])
109
107
->getMockForAbstractClass ();
You can’t perform that action at this time.
0 commit comments