[TASK] Remove unit tests that do not test the subject
[Packages/TYPO3.CMS.git] / typo3 / sysext / felogin / Tests / Unit / Controller / FrontendLoginControllerTest.php
index a9e6c4b..728bcee 100644 (file)
@@ -75,44 +75,6 @@ class FrontendLoginControllerTest extends UnitTestCase
         $_SERVER['HTTP_HOST'] = $this->testHostName;
     }
 
-    /**
-     * @test
-     */
-    public function typo3SitePathEqualsStubSitePath()
-    {
-        $this->assertEquals(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_PATH'), $this->testSitePath);
-    }
-
-    /**
-     * @test
-     */
-    public function typo3SiteUrlEqualsStubSiteUrl()
-    {
-        $this->assertEquals(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL'), ('http://' . $this->testHostName) . $this->testSitePath);
-    }
-
-    /**
-     * @test
-     */
-    public function typo3SitePathEqualsStubSitePathAfterChangingInTest()
-    {
-        $this->testHostName = 'somenewhostname.com';
-        $this->testSitePath = '/somenewpath/';
-        $this->setUpFakeSitePathAndHost();
-        $this->assertEquals(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_PATH'), $this->testSitePath);
-    }
-
-    /**
-     * @test
-     */
-    public function typo3SiteUrlEqualsStubSiteUrlAfterChangingInTest()
-    {
-        $this->testHostName = 'somenewhostname.com';
-        $this->testSitePath = '/somenewpath/';
-        $this->setUpFakeSitePathAndHost();
-        $this->assertEquals(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL'), ('http://' . $this->testHostName) . $this->testSitePath);
-    }
-
     /**
      * Data provider for validateRedirectUrlClearsUrl
      *