Fix incorrect assertion.

This commit is contained in:
mark_story 2014-02-11 22:00:24 -05:00
parent 96a37d5917
commit 827dc77a11

View file

@ -610,7 +610,7 @@ class PaginatorComponentTest extends CakeTestCase {
$Controller->PaginatorControllerPost->order = 'PaginatorControllerPost.id'; $Controller->PaginatorControllerPost->order = 'PaginatorControllerPost.id';
$result = $Controller->Paginator->validateSort($Controller->PaginatorControllerPost, array()); $result = $Controller->Paginator->validateSort($Controller->PaginatorControllerPost, array());
$this->assertEmpty($result['order']); $this->assertArrayNotHasKey('order', $result);
$Controller->PaginatorControllerPost->order = array( $Controller->PaginatorControllerPost->order = array(
'PaginatorControllerPost.id', 'PaginatorControllerPost.id',