File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Catalog/Test/Unit/Model/ResourceModel/Product
ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 17
17
use Magento \Store \Api \StoreResolverInterface ;
18
18
use Magento \Store \Model \Store ;
19
19
20
+ /**
21
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
22
+ */
20
23
class StatusBaseSelectProcessorTest extends \PHPUnit_Framework_TestCase
21
24
{
22
25
/**
@@ -91,8 +94,8 @@ public function testProcess()
91
94
->with (
92
95
['status_attr ' => $ backendTable ],
93
96
"status_attr.entity_id = " . BaseSelectProcessorInterface::PRODUCT_RELATION_ALIAS . ".child_id "
94
- . " AND status_attr.attribute_id = {$ attributeId }"
95
- . " AND status_attr.store_id = {$ currentStoreId }" ,
97
+ . " AND status_attr.attribute_id = {$ attributeId }"
98
+ . " AND status_attr.store_id = {$ currentStoreId }" ,
96
99
[]
97
100
)
98
101
->willReturnSelf ();
Original file line number Diff line number Diff line change 12
12
use Magento \Store \Api \StoreResolverInterface ;
13
13
use Magento \Store \Model \Store ;
14
14
15
+ /**
16
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
17
+ */
15
18
class Configurable extends \Magento \Catalog \Model \ResourceModel \Product \Indexer \Price \DefaultPrice
16
19
{
17
20
/**
@@ -28,6 +31,7 @@ class Configurable extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\
28
31
* @param \Magento\Framework\Event\ManagerInterface $eventManager
29
32
* @param \Magento\Framework\Module\Manager $moduleManager
30
33
* @param string $connectionName
34
+ * @param StoreResolverInterface $storeResolver
31
35
*/
32
36
public function __construct (
33
37
\Magento \Framework \Model \ResourceModel \Db \Context $ context ,
You can’t perform that action at this time.
0 commit comments