Skip to content

Commit

Permalink
#12083: Cannot import zero (0) value into custom attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky committed Nov 15, 2017
1 parent 41e9ec0 commit 89d613c
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ protected function setUp()
$this->_model = $this->getMockForAbstractClass(
\Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType::class,
[
$this->objectManager->get(\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory::class),
$this->objectManager->get(\Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory::class),
$this->objectManager->get(\Magento\Framework\App\ResourceConnection::class),
$this->objectManager->get(
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory::class
),
$this->objectManager->get(
\Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory::class
),
$this->objectManager->get(
\Magento\Framework\App\ResourceConnection::class
),
$params
]
);
Expand Down

0 comments on commit 89d613c

Please sign in to comment.