View | Details | Raw Unified | Return to bug 32891
Collapse All | Expand All

(-)a/t/db_dependent/Koha/CurbsidePickups.t (-2 / +1 lines)
Lines 145-151 subtest 'Create a pickup' => sub { Link Here
145
      'Cannot create a pickup on a time without opening slots defined';
145
      'Cannot create a pickup on a time without opening slots defined';
146
146
147
    # Day ok, datetime inside the opening slot, but wrong (15:07 for instance)
147
    # Day ok, datetime inside the opening slot, but wrong (15:07 for instance)
148
    $schedule_dt = $next_monday->set_hour(15)->set_minute(07)->set_second(00);
148
    $schedule_dt = $next_monday->set_hour(15)->set_minute(7)->set_second(0);
149
    throws_ok {
149
    throws_ok {
150
        Koha::CurbsidePickup->new({%$params, scheduled_pickup_datetime => $schedule_dt})->store;
150
        Koha::CurbsidePickup->new({%$params, scheduled_pickup_datetime => $schedule_dt})->store;
151
    }
151
    }
152
- 

Return to bug 32891