mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixed default datestyle for postgres tests
This commit is contained in:
parent
accc98f55d
commit
19c94d0211
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue