Making test less specific as this float cast is different

on different installs.
This commit is contained in:
mark_story 2011-10-06 21:58:11 -04:00
parent d9e51acf0a
commit 924e283012

View file

@ -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);