diff --git a/cake/tests/cases/libs/router.test.php b/cake/tests/cases/libs/router.test.php index 45543958d..4c0fb7483 100644 --- a/cake/tests/cases/libs/router.test.php +++ b/cake/tests/cases/libs/router.test.php @@ -45,6 +45,10 @@ class RouterTest extends UnitTestCase { unset($this->router->testVar); } + function testFullBaseURL() { + $this->assertPattern('/^http(s)?:\/\//', $this->router->url('/', true)); + } + function testRouteWriting() { $this->router->reload(); $this->router->connect('/');