Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b8f0dda9645272724fb5170e9f02f42daa316167 1 parent a429287
@TehTreag TehTreag authored markstory committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/controller/controller.test.php
View
4 cake/tests/cases/libs/controller/controller.test.php
@@ -710,7 +710,7 @@ function testPaginateFieldsDouble(){
$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 @@ function testPaginateFieldsDouble(){
'id'=>3,
),
0=>array(
- 'floatvalue'=>1.2,
+ 'floatvalue'=>3.1415926545898,
),
),
);
Please sign in to comment.
Something went wrong with that request. Please try again.