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,9 +52,11 @@ 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));
|
||||
}
|
||||
}
|
||||
|
||||
function testRouteWriting() {
|
||||
Router::connect('/');
|
||||
|
|
Loading…
Add table
Reference in a new issue