Skip to content

Commit 251020a

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ public function testUploadJsAction()
5050
$this->assertStringContainsString($name, $output);
5151
}
5252

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

0 commit comments

Comments
 (0)