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

(-)a/t/db_dependent/Koha/SearchEngine/Indexer.t (-4 / +3 lines)
Lines 223-232 subtest 'Test indexer calls' => sub { Link Here
223
223
224
        warnings_are{
224
        warnings_are{
225
            ModItemTransfer( $item->itemnumber, $item2->homebranch, $item->homebranch,'Manual');
225
            ModItemTransfer( $item->itemnumber, $item2->homebranch, $item->homebranch,'Manual');
226
        } [$engine,"Koha::Item",$engine,"Koha::Item"], "index_records is called twice for $engine when calling ModItemTransfer";
226
        } [$engine,"Koha::Item"], "index_records is called for $engine when calling ModItemTransfer";
227
        warnings_are{
227
        warnings_are{
228
            ModItemTransfer( $item->itemnumber, $item->homebranch, $item2->homebranch,'Manual',{ skip_record_index => 1 });
228
            ModItemTransfer( $item->itemnumber, $item->homebranch, $item2->homebranch,'Manual',{skip_record_index=>1});
229
        } [$engine,"Koha::Item"], "index_records is called once for $engine when calling ModItemTransfer with skip_record_index";
229
        } undef, "index_records is not called for $engine when calling ModItemTransfer with skip_record_index";
230
230
231
        warnings_are{
231
        warnings_are{
232
            $item->delete();
232
            $item->delete();
233
- 

Return to bug 31437