[TASK] Extension Manager: Remove superfluous tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Tests / Unit / Utility / FileHandlingUtilityTest.php
index 7882904..5f542ab 100644 (file)
@@ -108,17 +108,6 @@ class FileHandlingUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $this->assertTrue(is_dir($extDirPath));
        }
 
                $this->assertTrue(is_dir($extDirPath));
        }
 
-       /**
-        * @test
-        * @expectedException \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException
-        * @return void
-        */
-       public function addDirectoryThrowsExceptionOnError() {
-               $extDirPath = '/etc/test123/';
-               $fileHandlerMock = $this->getAccessibleMock('TYPO3\\CMS\\Extensionmanager\\Utility\\FileHandlingUtility', array('dummy'));
-               $fileHandlerMock->_call('addDirectory', $extDirPath);
-       }
-
        /**
         * @test
         * @return void
        /**
         * @test
         * @return void
@@ -131,17 +120,6 @@ class FileHandlingUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $this->assertFalse(is_dir($extDirPath));
        }
 
                $this->assertFalse(is_dir($extDirPath));
        }
 
-       /**
-        * @test
-        * @expectedException \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException
-        * @return void
-        */
-       public function removeDirectoryThrowsExceptionOnError() {
-               $extDirPath = '/etc/test123/';
-               $fileHandlerMock = $this->getAccessibleMock('TYPO3\\CMS\\Extensionmanager\\Utility\\FileHandlingUtility', array('dummy'));
-               $fileHandlerMock->_call('removeDirectory', $extDirPath);
-       }
-
        /**
         * @test
         * @return void
        /**
         * @test
         * @return void