Koha-clms/t/db_dependent/lib/KohaTest
Srdjan Jankovic 1430e4a987 bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue
To test:
Create 4 holds on a bib, for patrons A, B, C, and D,

Check in the item to mark hold as waiting for patron A
Check out the item to patron B -> reserve for patron B should be removed
Check in the item to mark hold as waiting for patron A
Check out the item to Patron A, hold should complete normally
Check in the item to mark hold as waiting for patron C
Check out the item to patron D -> reserve for patron D should be removed.
Check in the item to mark hold as waiting for patron C
Check out the item to patron C, hold should complete normally
Check in the item -> there should be no more reserves.

We also tested:
Created 4 holds on a bib with two items, for patrons A, B, C, and D

All worked as expected.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 6e07fd7b00)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit da99978777)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2012-01-20 23:11:51 -05:00
..
Acquisition
…
Biblio
…
Branch
…
Calendar
…
Circulation
…
Context
…
Dates
…
Heading
…
ImportBatch
…
Installer
…
Items
…
Koha
…
Letters
…
Members
…
Overdues
…
SMS
…
Scripts
…
Search
…
Accounts.pm bug_5533: Improved marking items as lost 2011-10-25 19:54:56 -04:00
Acquisition.pm
…
AuthoritiesMarc.pm
…
Biblio.pm
…
Branch.pm Bug 7034: de-nesting C4/Branch.pm 2011-10-25 19:25:36 -04:00
Breeding.pm
…
Calendar.pm
…
Category.pm
…
Circulation.pm bug_5533: Improved marking items as lost 2011-10-25 19:54:56 -04:00
Context.pm
…
Dates.pm
…
Heading.pm
…
ImportBatch.pm
…
Installer.pm
…
ItemCirculationAlertPreference.pm
…
ItemType.pm
…
Items.pm
…
Koha.pm
…
Letters.pm
…
Log.pm
…
Members.pm bug_6253: Unified member Search() 2011-10-25 19:32:30 -04:00
Message.pm
…
NewsChannels.pm
…
Overdues.pm
…
Print.pm
…
Reserves.pm bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2012-01-20 23:11:51 -05:00
SMS.pm
…
Scripts.pm
…
Search.pm
…
Serials.pm
…
Suggestions.pm
…
Z3950.pm
…