mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix incorrect assertion.
This commit is contained in:
parent
96a37d5917
commit
827dc77a11
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ class PaginatorComponentTest extends CakeTestCase {
|
|||
|
||||
$Controller->PaginatorControllerPost->order = 'PaginatorControllerPost.id';
|
||||
$result = $Controller->Paginator->validateSort($Controller->PaginatorControllerPost, array());
|
||||
$this->assertEmpty($result['order']);
|
||||
$this->assertArrayNotHasKey('order', $result);
|
||||
|
||||
$Controller->PaginatorControllerPost->order = array(
|
||||
'PaginatorControllerPost.id',
|
||||
|
|
Loading…
Add table
Reference in a new issue