removing two Router::url() relevant test cases for cli test reporting

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6757 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
DarkAngelBGE 2008-05-05 14:35:39 +00:00
parent c74b83ca7f
commit 25033f1599

View file

@ -52,8 +52,10 @@ class RouterTest extends UnitTestCase {
} }
function testFullBaseURL() { function testFullBaseURL() {
$this->assertPattern('/^http(s)?:\/\//', Router::url('/', true)); if (php_sapi_name() != 'cli') {
$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() { function testRouteWriting() {