Compare commits
No commits in common. "fix" and "master" have entirely different histories.
@ -16,7 +16,7 @@ class TestCommand extends Command{
|
|||||||
\Magento\Catalog\Model\ProductRepository $productRepository,
|
\Magento\Catalog\Model\ProductRepository $productRepository,
|
||||||
\Magento\Framework\ObjectManagerInterface $objectManager,
|
\Magento\Framework\ObjectManagerInterface $objectManager,
|
||||||
\Magento\Framework\App\State $state,
|
\Magento\Framework\App\State $state,
|
||||||
\Magento\Catalog\Model\ResourceModel\Product\Action\Proxy $productAction
|
\Magento\Catalog\Model\ResourceModel\Product\Action $productAction
|
||||||
) {
|
) {
|
||||||
$this->_state=$state;
|
$this->_state=$state;
|
||||||
$this->_objectManager=$objectManager;
|
$this->_objectManager=$objectManager;
|
||||||
@ -35,6 +35,5 @@ class TestCommand extends Command{
|
|||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output){
|
protected function execute(InputInterface $input, OutputInterface $output){
|
||||||
$output->writeln(get_class($this->_productAction));
|
$output->writeln(get_class($this->_productAction));
|
||||||
$this->_productAction->updateAttributes([1], ['name'=>'nice'], 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
|
xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
|
||||||
<module name="Test_Test" setup_version="0.0.0"/>
|
<module name="Test_Test" setup_version="0.0.0">
|
||||||
|
<sequence>Magento_Catalog</sequence>
|
||||||
|
</module>
|
||||||
</config>
|
</config>
|
||||||
|
Loading…
Reference in New Issue
Block a user