Koha/t/db_dependent
Srdjan Jankovic 6e07fd7b00 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>
2011-12-16 16:21:38 +01:00
..
Labels Bug 7215 : The Module changed, but the tests weren't updated to reflect that 2011-12-13 14:25:46 +01:00
LDAP
lib bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2011-12-16 16:21:38 +01:00
needs_user_input
Accounts.t Bug 5327 Made test file for Accounts.pm 2011-01-20 19:57:50 +13:00
Acquisition.t Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
Amazon.t Bug 5327 - Now we are doing db calls, we need to shift this to t/db_dependent 2011-01-19 13:38:52 +13:00
Auth.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Auth_with_cas.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
BackgroundJob.t Bug 5327 : Complete coverage for BackgroundJob.pm 2011-12-07 16:17:08 +01:00
Barcodes.t
Biblio.t Add unit tests to ensure bug 5683 doesn't reappear 2011-06-02 08:46:40 +12:00
Budgets.t
Context.t more test case fixes 2010-10-06 11:56:32 -04:00
database_dependent.pl
External_BakerTaylor.t Bug 5327: Unit tests for C4/Exteral/BakerTaylor.pm 2011-12-07 16:17:05 +01:00
Koha.t bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
Log.t Fixing a broken test 2011-09-26 11:55:58 +13:00
Members.t Bug 7333 - modifying Members.t to use a branchcode that exists in the sample data 2011-12-15 18:13:29 +01:00
Record.t Bug 7141 : Changing test to match new formatting of xsl style sheet 2011-12-08 10:51:25 +01:00
Reports_Guided.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Reserves.t bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2011-12-16 16:21:38 +01:00
Search.t fix test plan and false test errors in Search.t 2010-10-06 09:51:55 -04:00
Serials.t MT1883 : Serials enddate was not cleanly used 2009-11-11 14:00:11 +01:00
Serials_2.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Service.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
SIP_ILS.t Bug 5327: Added unit test for C4/SIP/ILS/Transaction/RenewAll.pm 2011-12-16 15:43:04 +01:00
SQLHelper.t Bug 5327 : Fixing unit test for SQLHelper.pm 2011-12-07 16:17:10 +01:00
Suggestions.t Editing C4::Suggestions.pm 2009-09-30 11:29:23 +02:00
Tags.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
UploadedFile.t t/UploadedFile, updated comment 2011-12-07 16:37:31 +01:00
VirtualShelves.t fix typo/thinko in list test 2010-10-06 10:55:44 -04:00
VirtualShelves_Page.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
XISBN.t Bug 5327 Cleaning up XISBN.t a bit 2011-01-18 22:52:02 +13:00