mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Making test less specific as this float cast is different
on different installs.
This commit is contained in:
parent
d9e51acf0a
commit
924e283012
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class MysqlTest extends CakeTestCase {
|
|||
$this->assertEquals('1234567.11', $result);
|
||||
|
||||
$result = $this->db->value(123456.45464748, 'float');
|
||||
$this->assertEquals('123456.454647', $result);
|
||||
$this->assertContains('123456.454647', $result);
|
||||
|
||||
$result = $this->db->value(0.987654321, 'float');
|
||||
$this->assertEquals('0.987654321', (string)$result);
|
||||
|
|
Loading…
Add table
Reference in a new issue