Updating to match ticket, using radians() SQL function.

This commit is contained in:
C. James Callaway 2010-07-15 15:49:39 -05:00 committed by mark_story
parent a429287c19
commit b8f0dda964

View file

@ -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,
),
),
);