/**
* Tests setting the database offset.
*
* @covers ::setTimezoneOffset
*/
public function testSetTimezoneOffset() { $database =
$this->
prophesize(Connection::
class);
$database->
query("SET TIME ZONE INTERVAL '42' HOUR TO MINUTE"
)->
shouldBeCalledTimes(1
);
$date_sql =
new PostgresqlDateSql($database->
reveal());
$date_sql->
setTimezoneOffset(42
);
}}