Skip to content

Commit 5624bfe

Browse files
committed
MAGETWO-95550: Adding restriction for controller
1 parent 707280d commit 5624bfe

File tree

1 file changed

+4
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFilesTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ public static function tearDownAfterClass()
8888
if ($directory->isExist('wysiwyg')) {
8989
$directory->delete('wysiwyg');
9090
}
91+
if ($directory->isExist('.htaccess')) {
92+
$directory->delete('.htaccess');
93+
}
9194
}
9295

9396
/**
94-
* Creates file and tried to delete it via
97+
* Creates file and tries to delete it via
9598
* \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\DeleteFiles::execute method
9699
*
97100
* @param string $fileName

0 commit comments

Comments
 (0)