Fix Mech and timezone issues.
This commit is contained in:
parent
5a11540e1c
commit
ffa11a7191
1 changed files with 3 additions and 3 deletions
|
|
@ -763,7 +763,7 @@ my @unticks = qw( assetId vendorId seatsAvailable price eventNumber location rel
|
||||||
for my $val ( @unticks ) {
|
for my $val ( @unticks ) {
|
||||||
$mech->untick( 'fieldsToImport', $val );
|
$mech->untick( 'fieldsToImport', $val );
|
||||||
}
|
}
|
||||||
$mech->click_ok( "submit", "import files" );
|
$mech->click_ok( "send", "import files" );
|
||||||
|
|
||||||
# Events exist
|
# Events exist
|
||||||
my $events = $ems->getLineage( ['children'], {
|
my $events = $ems->getLineage( ['children'], {
|
||||||
|
|
@ -777,7 +777,7 @@ cmp_deeply(
|
||||||
{
|
{
|
||||||
title => "One",
|
title => "One",
|
||||||
description => "Oneness",
|
description => "Oneness",
|
||||||
startDate => WebGUI::DateTime->new( $session, mysql => '2010-01-01 00:00:00', time_zone => DateTime::TimeZone::Local->TimeZone() )->toMysql,
|
startDate => WebGUI::DateTime->new( $session, mysql => '2010-01-01 00:00:00', time_zone => $session->user->get('timeZone'), )->toMysql,
|
||||||
duration => 2,
|
duration => 2,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
@ -785,7 +785,7 @@ cmp_deeply(
|
||||||
{
|
{
|
||||||
title => 'Two',
|
title => 'Two',
|
||||||
description => 'Twoness',
|
description => 'Twoness',
|
||||||
startDate => WebGUI::DateTime->new( $session, mysql => '2010-02-02 00:00:00', time_zone => DateTime::TimeZone::Local->TimeZone() )->toMysql,
|
startDate => WebGUI::DateTime->new( $session, mysql => '2010-02-02 00:00:00', time_zone => $session->user->get('timeZone') )->toMysql,
|
||||||
duration => 3,
|
duration => 3,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue