Bug 32013: Adjust unit tests
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4f51c1801c
commit
b7d7a334e3
1 changed files with 2 additions and 2 deletions
|
@ -285,9 +285,9 @@ subtest 'Test AddRenewal indexer call' => sub {
|
|||
|
||||
warnings_are{
|
||||
AddRenewal($patron->borrowernumber, $item->itemnumber, $item->homebranch, undef, undef, undef, 0);
|
||||
} [$engine,"Koha::Item"], "index_records is called for $engine when adding a renewal (AddRenewal())";
|
||||
} [$engine,"C4::Circulation"], "index_records is called for $engine when adding a renewal (AddRenewal())";
|
||||
warnings_are{
|
||||
AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1);
|
||||
AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1, 1);
|
||||
} undef, "index_records is not called for $engine when adding a renewal (AddRenewal()) with skip_record_index";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue