mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Making a test actually test what its supposed to.
This commit is contained in:
parent
319e622151
commit
7c6af5bfec
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ class RouterTest extends CakeTestCase {
|
||||||
Router::reload();
|
Router::reload();
|
||||||
Router::connect('/:controller/:action/*');
|
Router::connect('/:controller/:action/*');
|
||||||
Router::connectNamed(array('page'), array('default' => false, 'greedy' => false));
|
Router::connectNamed(array('page'), array('default' => false, 'greedy' => false));
|
||||||
$result = Router::parse('/categories/index?limit=5');
|
$result = Router::parse('/categories/index/limit=5');
|
||||||
$this->assertTrue(empty($result['named']));
|
$this->assertTrue(empty($result['named']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue