Skip to content

Commit 66783c5

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
/**
1313
* @magentoAppArea adminhtml
14-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1514
*/
1615
class ThemeControllerTest extends \Magento\TestFramework\TestCase\AbstractBackendController
1716
{
@@ -63,6 +62,7 @@ public function testUploadFaviconAction()
6362
$this->dispatch('backend/admin/design_config_fileUploader/save');
6463
$output = $this->getResponse()->getBody();
6564
if (!in_array('imagick', get_loaded_extensions()) || $this->imageAdapter == 'GD2') {
65+
// phpcs:disable Magento2.Files.LineLength
6666
$this->assertStringContainsString(
6767
'{"error":"File validation failed.\n Check Image Processing Settings in the Store Configuration."',
6868
$output

0 commit comments

Comments
 (0)