Koha/t/db_dependent/Reserves
Marcel de Rooy 511b325357 Bug 19437: Rearranging tests for CancelExpiredReserves
This patch originates from a QA Follow-up on bug 19260.

The first 19260 patch adds CancelExpiredReserves tests to Reserves.t.
But note that we already have some tests in Holds/CancelReserves.t.

This patch does:
Renames Holds/CancelReserves.t to Reserves/CancelExpiredReserves.t.
Rearranges modules there.
Moves its existing tests into a first subtest.
Moves the new subtest from Reserves.t to CancelExpiredReserves.t.
Replaces $dbh->do('DELETE FROM reserves').
Adds some TestBuilder statements for missing data (by the move): adding
biblio, item, borrower (removing slow AddMember call).

Test plan:
Run Reserves.t and Reserves/CancelExpiredReserves.t.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-09 13:47:02 -03:00
..
CancelExpiredReserves.t Bug 19437: Rearranging tests for CancelExpiredReserves 2017-10-09 13:47:02 -03:00
GetReserveFee.t Bug 19025: Move GetReserveInfo to Koha::Holds 2017-08-30 15:06:10 -03:00
MultiplePerRecord.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00