Skip to content

Commit 24e17f6

Browse files
author
Milan Osztromok
committed
fix failed unit test
1 parent 69f948a commit 24e17f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ImageUploaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function setUp()
104104
$this->baseTmpPath = 'base/tmp/';
105105
$this->basePath = 'base/real/';
106106
$this->allowedExtensions = ['.jpg'];
107-
$this->allowedMimeTypes = ['image/jpg'];
107+
$this->allowedMimeTypes = ['image/jpg', 'image/jpeg', 'image/gif', 'image/png'];
108108

109109
$this->imageUploader =
110110
new \Magento\Catalog\Model\ImageUploader(

0 commit comments

Comments
 (0)