mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
85cd5adaf1
commit
5cb193db6e
1 changed files with 2 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue