diff --git a/cake/tests/cases/libs/router.test.php b/cake/tests/cases/libs/router.test.php index e4038711f..03e570ae7 100644 --- a/cake/tests/cases/libs/router.test.php +++ b/cake/tests/cases/libs/router.test.php @@ -52,10 +52,8 @@ class RouterTest extends UnitTestCase { } function testFullBaseURL() { - if (php_sapi_name() != 'cli') { - $this->assertPattern('/^http(s)?:\/\//', Router::url('/', true)); - $this->assertPattern('/^http(s)?:\/\//', Router::url(null, true)); - } + $this->assertPattern('/^http(s)?:\/\//', Router::url('/', true)); + $this->assertPattern('/^http(s)?:\/\//', Router::url(null, true)); } function testRouteWriting() {