mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +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 {
|
sub opendb {
|
||||||
$dsn = "dbi:Pg:dbname=$dsn";
|
$dsn = "dbi:Pg:dbname=$dsn";
|
||||||
$dbh = DBI->connect($dsn, $dbuser, $dbpass, { AutoCommit => 1 } ) or die "Can't connect to database $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.
|
# We need to run the regression tests in the timezone they were written for.
|
||||||
export PGTZ=Pacific/Auckland
|
export PGTZ=Pacific/Auckland
|
||||||
|
export TZ=Pacific/Auckland
|
||||||
|
|
||||||
ALLSUITES="regression-suite binding carddav scheduling timezone"
|
ALLSUITES="regression-suite binding carddav scheduling timezone"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user