mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating to match ticket, using radians() SQL function.
This commit is contained in:
parent
a429287c19
commit
b8f0dda964
1 changed files with 2 additions and 2 deletions
|
@ -710,7 +710,7 @@ class ControllerTest extends CakeTestCase {
|
|||
$Controller->paginate = array(
|
||||
'fields' => array(
|
||||
'ControllerPost.id',
|
||||
'1.2 as floatvalue'
|
||||
'radians(180.0) as floatvalue'
|
||||
),
|
||||
'order' => array('ControllerPost.created'=>'DESC'),
|
||||
'limit' => 1,
|
||||
|
@ -725,7 +725,7 @@ class ControllerTest extends CakeTestCase {
|
|||
'id'=>3,
|
||||
),
|
||||
0=>array(
|
||||
'floatvalue'=>1.2,
|
||||
'floatvalue'=>3.1415926545898,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue