mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
More aggressively set timezone for regression testing.
This commit is contained in:
parent
2aa2f244ee
commit
413c26dd71
@ -330,6 +330,7 @@ with DBD::Pg.
|
||||
sub opendb {
|
||||
$dsn = "dbi:Pg:dbname=$dsn";
|
||||
$dbh = DBI->connect($dsn, $dbuser, $dbpass, { AutoCommit => 1 } ) or die "Can't connect to database $dsn";
|
||||
$dbh->do("SET TIMEZONE TO 'Pacific/Auckland'");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ HOSTNAME=regression
|
||||
|
||||
# We need to run the regression tests in the timezone they were written for.
|
||||
export PGTZ=Pacific/Auckland
|
||||
export TZ=Pacific/Auckland
|
||||
|
||||
ALLSUITES="regression-suite binding carddav scheduling timezone"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user