Fixed default datestyle for postgres tests

This commit is contained in:
Juan Basso 2013-06-25 00:15:03 -04:00
parent accc98f55d
commit 19c94d0211

View file

@ -1001,7 +1001,7 @@ class PostgresTest extends CakeTestCase {
$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();
}