Skip to content

Commit

Permalink
Making test less specific as this float cast is different
Browse files Browse the repository at this point in the history
on different installs.
  • Loading branch information
markstory committed Oct 7, 2011
1 parent d9e51ac commit 924e283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
Expand Up @@ -159,7 +159,7 @@ public function testLocalizedFloats() {
$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);
Expand Down

0 comments on commit 924e283

Please sign in to comment.