diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php index 80b2b2a79..9992c659e 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php @@ -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);