Skip to content

Commit 33f096e

Browse files
committed
MAGETWO-89609: [Backport for 2.2.x] Improve import files validation
1 parent fd43ac9 commit 33f096e

File tree

1 file changed

+4
-2
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ protected function setUp()
5555

5656
/**
5757
* @magentoAppIsolation enabled
58+
* @return void
5859
*/
59-
public function testMoveWithValidFile() : void
60+
public function testMoveWithValidFile(): void
6061
{
6162
$fileName = 'magento_additional_image_one.jpg';
6263
$filePath = $this->directory->getAbsolutePath($this->uploader->getTmpDir() . '/' . $fileName);
@@ -67,9 +68,10 @@ public function testMoveWithValidFile() : void
6768

6869
/**
6970
* @magentoAppIsolation enabled
71+
* @return void
7072
* @expectedException \Exception
7173
*/
72-
public function testMoveWithInvalidFile() :void
74+
public function testMoveWithInvalidFile(): void
7375
{
7476
$fileName = 'media_import_image.php';
7577
$filePath = $this->directory->getAbsolutePath($this->uploader->getTmpDir() . '/' . $fileName);

0 commit comments

Comments
 (0)