Bug 32891: (QA follow-up) Fix perlcritic error
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f2f288a8c4
commit
1d31599220
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ subtest 'Create a pickup' => sub {
|
|||
'Cannot create a pickup on a time without opening slots defined';
|
||||
|
||||
# Day ok, datetime inside the opening slot, but wrong (15:07 for instance)
|
||||
$schedule_dt = $next_monday->set_hour(15)->set_minute(07)->set_second(00);
|
||||
$schedule_dt = $next_monday->set_hour(15)->set_minute(7)->set_second(0);
|
||||
throws_ok {
|
||||
Koha::CurbsidePickup->new({%$params, scheduled_pickup_datetime => $schedule_dt})->store;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue