Skip to content

Commit 552a644

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

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

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

1212
/**
1313
* @magentoAppArea adminhtml
14+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1415
*/
1516
class ThemeControllerTest extends \Magento\TestFramework\TestCase\AbstractBackendController
1617
{
@@ -50,12 +51,6 @@ public function testUploadJsAction()
5051
$this->assertStringContainsString($name, $output);
5152
}
5253

53-
/**
54-
* testing uploaded favicon file
55-
*
56-
* @throws FileSystemException
57-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
58-
*/
5954
public function testUploadFaviconAction()
6055
{
6156
$names = ['favicon-x-icon.ico', 'favicon-vnd-microsoft.ico'];

0 commit comments

Comments
 (0)