[TASK] Remove unused EM_CONF variables
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Tests / Unit / Utility / EmConfUtilityTest.php
index be8af57..4c0ebb1 100644 (file)
@@ -42,7 +42,6 @@ class EmConfUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                );
                $expected = array(
                        'title' => 'a title',
-                       'conflicts' => 'foo',
                        'constraints' => array(
                                'depends' => array(),
                                'conflicts' => array(
@@ -65,7 +64,6 @@ class EmConfUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                );
                $expected = array(
                        'title' => 'a title',
-                       'conflicts' => 'foo,bar',
                        'constraints' => array(
                                'depends' => array(),
                                'conflicts' => array(
@@ -78,35 +76,4 @@ class EmConfUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $fixture = new \TYPO3\CMS\Extensionmanager\Utility\EmConfUtility();
                $this->assertEquals($expected, $fixture->fixEmConf($input));
        }
-
-       /**
-        * @test
-        */
-       public function dependencyToStringUnsetsDependencies() {
-               $config = array(
-                       'depends' => array(
-                               'php' => '5.0',
-                               'something' => 'foo',
-                               'anything' => 'bar'
-                       )
-               );
-               $expected = 'something,anything';
-
-               /** @var \TYPO3\CMS\Extensionmanager\Utility\EmConfUtility $fixture */
-               $fixture = $fixture = new \TYPO3\CMS\Extensionmanager\Utility\EmConfUtility();
-               $result = $fixture::dependencyToString($config);
-               $this->assertEquals($expected, $result);
-       }
-
-       /**
-        * @test
-        */
-       public function dependencyToStringDealsWithInvalidInput() {
-               $input = array(
-                       'depends' => 'hello world'
-               );
-               /** @var \TYPO3\CMS\Extensionmanager\Utility\EmConfUtility $fixture */
-               $fixture = $fixture = new \TYPO3\CMS\Extensionmanager\Utility\EmConfUtility();
-               $this->assertEquals('', $fixture::dependencyToString($input));
-       }
 }