Remove commented out test

This commit is contained in:
Dan Hensby 2018-09-26 00:37:25 +01:00
parent fe5b431200
commit db43d57618
No known key found for this signature in database
GPG Key ID: 3906B235643EF10B

View File

@ -408,14 +408,6 @@ class ControllerTest extends FunctionalTest
);
}
/* Controller::BaseURL no longer exists, but was just a direct call to Director::BaseURL, so not sure what this
* code was supposed to test
public function testBaseURL() {
Config::modify()->merge('Director', 'alternate_base_url', '/baseurl/');
$this->assertEquals(Controller::BaseURL(), Director::BaseURL());
}
*/
public function testRedirectBackByReferer()
{
$internalRelativeUrl = Controller::join_links(Director::baseURL(), '/some-url');