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

(-)a/t/db_dependent/Koha/SearchEngine/Indexer.t (-3 / +2 lines)
Lines 285-293 subtest 'Test AddRenewal indexer call' => sub { Link Here
285
285
286
        warnings_are{
286
        warnings_are{
287
            AddRenewal($patron->borrowernumber, $item->itemnumber, $item->homebranch, undef, undef, undef, 0);
287
            AddRenewal($patron->borrowernumber, $item->itemnumber, $item->homebranch, undef, undef, undef, 0);
288
        } [$engine,"Koha::Item"], "index_records is called for $engine when adding a renewal (AddRenewal())";
288
        } [$engine,"C4::Circulation"], "index_records is called for $engine when adding a renewal (AddRenewal())";
289
        warnings_are{
289
        warnings_are{
290
            AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1);
290
            AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1, 1);
291
        } undef, "index_records is not called for $engine when adding a renewal (AddRenewal()) with skip_record_index";
291
        } undef, "index_records is not called for $engine when adding a renewal (AddRenewal()) with skip_record_index";
292
292
293
    }
293
    }
294
- 

Return to bug 32013