Skip to content
Browse files

Repeating previous change for SQLite, so it passes on PHP 5.5

  • Loading branch information...
1 parent 04a6bfb commit f14c55916f624d741e50181fb7b0fa4d4bceda44 @lorenzo lorenzo committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
View
3 lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
@@ -495,7 +495,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 f14c559

Please sign in to comment.
Something went wrong with that request. Please try again.