Skip to content

Commit dd560f3

Browse files
author
Yauhen_Lyskavets
committed
MAGETWO-91640: Scheduled Import of Products fails on error when errors should be skipped
- Integration test fix
1 parent 77ec759 commit dd560f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/_files/categories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
$category = $objectManager->create(\Magento\Catalog\Model\Category::class);
8585
$category->isObjectNew(true);
8686
$category->setId(6)
87-
->setName('Category 2')
87+
->setName('Category 2.1')
8888
->setParentId(2)
8989
->setPath('1/2/6')
9090
->setLevel(2)

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ public function testInvalidSkuLink()
958958
$errors = $this->_model->setParameters(
959959
[
960960
'behavior' => \Magento\ImportExport\Model\Import::BEHAVIOR_APPEND,
961+
Import::FIELD_NAME_VALIDATION_STRATEGY => null,
961962
'entity' => 'catalog_product'
962963
]
963964
)->setSource(

0 commit comments

Comments
 (0)