Skip to content
Permalink
Browse files

Making test less specific as this float cast is different

on different installs.
  • Loading branch information...
markstory committed Oct 7, 2011
1 parent d9e51ac commit 924e283012a56a0c7374baffd1a98714e2437687
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
@@ -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);

0 comments on commit 924e283

Please sign in to comment.
You can’t perform that action at this time.