Skip to content

Commit c308b36

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-2847: Favicon upload fails to validate .ico files
1 parent 66783c5 commit c308b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Theme/Controller/Adminhtml/System/Design/ThemeControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public function testUploadFaviconAction()
6262
$this->dispatch('backend/admin/design_config_fileUploader/save');
6363
$output = $this->getResponse()->getBody();
6464
if (!in_array('imagick', get_loaded_extensions()) || $this->imageAdapter == 'GD2') {
65-
// phpcs:disable Magento2.Files.LineLength
6665
$this->assertStringContainsString(
67-
'{"error":"File validation failed.\n Check Image Processing Settings in the Store Configuration."',
66+
'{"error":"File validation failed.\n '.
67+
'Check Image Processing Settings in the Store Configuration."',
6868
$output
6969
);
7070
} else {

0 commit comments

Comments
 (0)