use proxy class

This commit is contained in:
James 2021-01-12 12:19:31 +00:00
parent cb5a8204da
commit 5be41daf92

View File

@ -16,7 +16,7 @@ class TestCommand extends Command{
\Magento\Catalog\Model\ProductRepository $productRepository,
\Magento\Framework\ObjectManagerInterface $objectManager,
\Magento\Framework\App\State $state,
\Magento\Catalog\Model\ResourceModel\Product\Action $productAction
\Magento\Catalog\Model\ResourceModel\Product\Action\Proxy $productAction
) {
$this->_state=$state;
$this->_objectManager=$objectManager;