mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
c74b83ca7f
commit
25033f1599
1 changed files with 4 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue