mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Repeating previous change for SQLite, so it passes on PHP 5.5
This commit is contained in:
parent
04a6bfbda6
commit
f14c55916f
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue