File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ public function testImportWithUnexistingImages(): void
126
126
{
127
127
$ this ->exportProducts ();
128
128
$ this ->assertTrue ($ this ->directory ->isExist ($ this ->filePath ), 'Products were not imported to file ' );
129
- #$fileContent = $this->csvReader->getData($this->directory->getAbsolutePath($this->filePath));
130
129
$ fileContent = $ this ->getCsvData ($ this ->directory ->getAbsolutePath ($ this ->filePath ));
131
130
$ this ->assertCount (2 , $ fileContent );
132
131
$ this ->updateFileImagesToInvalidValues ();
@@ -197,7 +196,7 @@ private function prepareFile(string $file): CsvSource
197
196
private function assertImportErrors (): void
198
197
{
199
198
$ validationErrors = $ this ->import ->setSource ($ this ->prepareFile ($ this ->filePath ))->validateData ();
200
- # $this->assertEmpty($validationErrors->getAllErrors());
199
+ $ this ->assertEmpty ($ validationErrors ->getAllErrors ());
201
200
$ this ->import ->getErrorAggregator ()->clear ();
202
201
$ this ->import ->importData ();
203
202
$ importErrors = $ this ->import ->getErrorAggregator ()->getAllErrors ();
You can’t perform that action at this time.
0 commit comments