Making a test actually test what its supposed to.

This commit is contained in:
mark_story 2010-12-18 17:01:26 -05:00
parent 319e622151
commit 7c6af5bfec

View file

@ -1350,7 +1350,7 @@ class RouterTest extends CakeTestCase {
Router::reload();
Router::connect('/:controller/:action/*');
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']));
}