From f14c55916f624d741e50181fb7b0fa4d4bceda44 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Thu, 6 Jun 2013 18:12:07 +0200 Subject: [PATCH] Repeating previous change for SQLite, so it passes on PHP 5.5 --- lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php index 0228535c8..564fe593e 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php @@ -495,7 +495,8 @@ class SqliteTest extends CakeTestCase { $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); } }