[FOLLOWUP][TASK] Remove leftover unzipping core functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Authentication / BackendUserAuthenticationTest.php
index 5f21a9c..7f34b2a 100644 (file)
@@ -30,7 +30,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         'copyFile' => false,
         'moveFile' => false,
         'renameFile' => false,
-        'unzipFile' => false,
         'deleteFile' => false,
         // Folder permissions
         'addFolder' => false,
@@ -255,7 +254,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => 0,
                     'moveFile' => 0,
                     'renameFile' => 0,
-                    'unzipFile' => 0,
                     'deleteFile' => 0,
                     'addFolder' => 0,
                     'readFolder' => 1,
@@ -275,7 +273,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => 1,
                     'moveFile' => 1,
                     'renameFile' => 1,
-                    'unzipFile' => 0,
                     'deleteFile' => 1,
                     'addFolder' => 0,
                     'readFolder' => 1,
@@ -340,7 +337,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
             'copyFile' => true,
             'moveFile' => true,
             'renameFile' => true,
-            'unzipFile' => true,
             'deleteFile' => true,
             'addFolder' => true,
             'readFolder' => true,
@@ -367,7 +363,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => 1,
                     'moveFile' => 1,
                     'renameFile' => 1,
-                    'unzipFile' => 1,
                     'deleteFile' => 1,
                     'addFolder' => 1,
                     'readFolder' => 1,
@@ -393,7 +388,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => true,
                     'moveFile' => true,
                     'renameFile' => true,
-                    'unzipFile' => true,
                     'deleteFile' => true,
                     'addFolder' => true,
                     'readFolder' => true,
@@ -416,7 +410,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => true,
                     'moveFile' => true,
                     'renameFile' => true,
-                    'unzipFile' => true,
                     'deleteFile' => true,
                     'addFolder' => true,
                     'readFolder' => true,
@@ -519,7 +512,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => false,
                     'moveFile' => false,
                     'renameFile' => false,
-                    'unzipFile' => false,
                     'deleteFile' => false,
                     'addFolder' => false,
                     'readFolder' => false,
@@ -540,7 +532,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => true,
                     'moveFile' => true,
                     'renameFile' => true,
-                    'unzipFile' => false,
                     'deleteFile' => true,
                     'addFolder' => false,
                     'readFolder' => false,
@@ -552,27 +543,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'recursivedeleteFolder' => false
                 )
             ),
-            'Unzip allowed' => array(
-                'readFile,unzipFile',
-                array(
-                    'addFile' => false,
-                    'readFile' => true,
-                    'writeFile' => false,
-                    'copyFile' => false,
-                    'moveFile' => false,
-                    'renameFile' => false,
-                    'unzipFile' => true,
-                    'deleteFile' => false,
-                    'addFolder' => false,
-                    'readFolder' => false,
-                    'writeFolder' => false,
-                    'copyFolder' => false,
-                    'moveFolder' => false,
-                    'renameFolder' => false,
-                    'deleteFolder' => false,
-                    'recursivedeleteFolder' => false
-                )
-            ),
             'Standard folder permissions' => array(
                 'addFolder,readFolder,moveFolder,renameFolder,writeFolder,deleteFolder',
                 array(
@@ -582,7 +552,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => false,
                     'moveFile' => false,
                     'renameFile' => false,
-                    'unzipFile' => false,
                     'deleteFile' => false,
                     'addFolder' => true,
                     'readFolder' => true,
@@ -603,7 +572,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => false,
                     'moveFile' => false,
                     'renameFile' => false,
-                    'unzipFile' => false,
                     'deleteFile' => false,
                     'addFolder' => false,
                     'readFolder' => true,
@@ -624,7 +592,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                     'copyFile' => false,
                     'moveFile' => false,
                     'renameFile' => false,
-                    'unzipFile' => false,
                     'deleteFile' => false,
                     'addFolder' => false,
                     'readFolder' => true,
@@ -676,7 +643,6 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
             'copyFile' => true,
             'moveFile' => true,
             'renameFile' => true,
-            'unzipFile' => true,
             'deleteFile' => true,
             'addFolder' => true,
             'readFolder' => true,