putting RouterTest::testFullBaseURL() back into place for CLI test reporting

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6762 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
DarkAngelBGE 2008-05-05 15:11:18 +00:00
parent 85cd5adaf1
commit 5cb193db6e

View file

@ -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() {