mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-01 23:29:45 +00:00
fix cs
This commit is contained in:
parent
f680c763b2
commit
a620fbbbb8
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ class PaginatorComponentTest extends CakeTestCase {
|
||||||
'paramType' => 'named'
|
'paramType' => 'named'
|
||||||
);
|
);
|
||||||
$result = $Controller->Paginator->paginate('PaginatorControllerPost');
|
$result = $Controller->Paginator->paginate('PaginatorControllerPost');
|
||||||
$expected = array('2007-03-18 10:43:23', '2007-03-18 10:41:23', '2007-03-18 10:39:23');
|
$expected = array('2007-03-18 10:43:23', '2007-03-18 10:41:23', '2007-03-18 10:39:23');
|
||||||
$this->assertEquals($expected, Hash::extract($result, '{n}.PaginatorControllerPost.created'));
|
$this->assertEquals($expected, Hash::extract($result, '{n}.PaginatorControllerPost.created'));
|
||||||
$this->assertEquals($Controller->PaginatorControllerPost->order, $this->Controller->request['paging']['PaginatorControllerPost']['order']);
|
$this->assertEquals($Controller->PaginatorControllerPost->order, $this->Controller->request['paging']['PaginatorControllerPost']['order']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue