Skip to content

Commit

Permalink
Resetting the datestyle to not affect other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Jun 25, 2013
1 parent 489d1db commit accc98f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1001,6 +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->disconnect();
}

Expand Down

0 comments on commit accc98f

Please sign in to comment.