Skip to content
Permalink
Browse files

Fixing postgres test for PHP 5.5

  • Loading branch information...
lorenzo committed Jun 6, 2013
1 parent 51af880 commit 04a6bfbda6d87f820a29585195436e1199c3d626
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
@@ -1024,7 +1024,8 @@ public function testLimit() {
$this->assertEquals(' LIMIT 20 OFFSET 10', $result);
$result = $db->limit(10, 300000000000000000000000000000);
$this->assertEquals(' LIMIT 10 OFFSET 0', $result);
$scientificNotation = sprintf('%.1E', 300000000000000000000000000000);
$this->assertNotContains($scientificNotation, $result);
}
}

0 comments on commit 04a6bfb

Please sign in to comment.
You can’t perform that action at this time.