Bug 32013: (follow-up) Add unit test
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 7 Dec 2022 11:12:11 +0000 (11:12 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Apr 2023 12:26:57 +0000 (09:26 -0300)
commit056b0d96c4ee80b1496731f19b85dedf2e79c456
tree0c2fb55fda23963a0ab941c64d74cc5db249cb5f
parent0fe026c6fa46135238f91826778bcbffcb13567b
Bug 32013: (follow-up) Add unit test

A unit test has been added to show the pass-through of skip_record_index from AddRenewal() to the Item->store() method.

Test plan:
1) In the shell run prove -vv t/db_dependent/Koha/SearchEngine/Indexer.t
2) Observe Subtest 3: Test AddRenewal indexer call
3) All four tests should pass

Mentored-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/SearchEngine/Indexer.t