Skip to content

Commit

Permalink
Fixing failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Apr 1, 2013
1 parent 17d6ad6 commit 4a67078
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ public function testConnectionConfigCustom() {

$expected = $config;
$expected['dsn'] = 'mysql:host=foo;port=3440;dbname=bar;charset=a-language';
$expected['init'][] = "SET time_zone = '+0:00'";
$expected['init'][] = "SET time_zone = 'Antartica'";
$expected['flags'] += [
PDO::ATTR_PERSISTENT => false,
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::MYSQL_ATTR_INIT_COMMAND => "Execute this;this too;SET time_zone = '+0:00'"
PDO::MYSQL_ATTR_INIT_COMMAND => "Execute this;this too;SET time_zone = 'Antartica'"
];
$driver->expects($this->once())->method('_connect')
->with($expected);
Expand Down

0 comments on commit 4a67078

Please sign in to comment.