Skip to content

Commit 89d613c

Browse files
committed
magento#12083: Cannot import zero (0) value into custom attribute
1 parent 41e9ec0 commit 89d613c

File tree

1 file changed

+9
-3
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/Product/Type

1 file changed

+9
-3
lines changed

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractTest.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ protected function setUp()
2828
$this->_model = $this->getMockForAbstractClass(
2929
\Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType::class,
3030
[
31-
$this->objectManager->get(\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory::class),
32-
$this->objectManager->get(\Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory::class),
33-
$this->objectManager->get(\Magento\Framework\App\ResourceConnection::class),
31+
$this->objectManager->get(
32+
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory::class
33+
),
34+
$this->objectManager->get(
35+
\Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory::class
36+
),
37+
$this->objectManager->get(
38+
\Magento\Framework\App\ResourceConnection::class
39+
),
3440
$params
3541
]
3642
);

0 commit comments

Comments
 (0)