Browse files

Fixed default datestyle for postgres tests

  • Loading branch information...
1 parent accc98f commit 19c94d0211728a1b26152de6cc5a8a711c95d873 @jrbasso jrbasso committed Jun 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
View
2 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
@@ -1001,7 +1001,7 @@ public function testSettings() {
$expected = array(array('r' => date('d/m/Y')));
$r = $dbo2->fetchRow('SELECT now()::date AS "r"');
$this->assertEquals($expected, $r);
- $dbo2->execute('SET DATESTYLE TO SQL');
+ $dbo2->execute('SET DATESTYLE TO ISO');
$dbo2->disconnect();
}

0 comments on commit 19c94d0

Please sign in to comment.