Skip to content

Commit e7f4524

Browse files
committed
MAGETWO-95637: Validate file extension before upload
1 parent 0cc2343 commit e7f4524

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/UploaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@ public function moveFileUrlDataProvider()
179179
'$fileUrl' => 'http://test_uploader_file',
180180
'$expectedHost' => 'test_uploader_file',
181181
'$expectedFileName' => 'httptest_uploader_file',
182-
'$checkAllowedExtension' => 0
182+
'$checkAllowedExtension' => 0,
183183
],
184184
[
185185
'$fileUrl' => 'https://!:^&`;file',
186186
'$expectedHost' => '!:^&`;file',
187187
'$expectedFileName' => 'httpsfile',
188-
'$checkAllowedExtension' => 0
188+
'$checkAllowedExtension' => 0,
189189
],
190190
];
191191
}

0 commit comments

Comments
 (0)