Skip to content
Permalink
Browse files

Updating test case for floats

  • Loading branch information...
lorenzo committed Oct 18, 2010
1 parent 1646322 commit 6778d4b56566301ee244f37802dbb6b7fb39cf44
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
@@ -366,10 +366,10 @@ function testLocalizedFloats() {
setlocale(LC_ALL, 'de_DE');
$result = $this->db->value(3.141593, 'float');
$this->assertEqual((string)$result, "'3.141593'");
$this->assertEqual((string)$result, "3.141593");
$result = $this->db->value(3.14);
$this->assertEqual((string)$result, "'3.140000'");
$this->assertEqual((string)$result, "3.140000");
setlocale(LC_ALL, $restore);
}

0 comments on commit 6778d4b

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