From b8f0dda9645272724fb5170e9f02f42daa316167 Mon Sep 17 00:00:00 2001 From: "C. James Callaway" Date: Thu, 15 Jul 2010 15:49:39 -0500 Subject: [PATCH] Updating to match ticket, using radians() SQL function. --- cake/tests/cases/libs/controller/controller.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/controller/controller.test.php b/cake/tests/cases/libs/controller/controller.test.php index f7fbb2279..0d9811fad 100644 --- a/cake/tests/cases/libs/controller/controller.test.php +++ b/cake/tests/cases/libs/controller/controller.test.php @@ -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, ), ), );