Bug 32891: (QA follow-up) Fix perlcritic error

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2023-02-21 10:02:20 -03:00
parent f2f288a8c4
commit 1d31599220
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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;
}