Koha/t/db_dependent/Circulation
Joonas Kylmälä b0f9033f13 Bug 27064: Correct transferbook.t tests to reflect new behaviour of transferbook()
The transferbook() behaviour was changed so that it only allows
transferring the item with a reserve if ignore_reserves=1 is passed to
it. The tests are changed here to reflect that. Note that however the
tests were buggy already before this change because the transfer's
"from" and "to" branches were the same and so the transfer should have
failed due to the error DestinationEqualsHolding, but futher though
the transferbook() code was buggy and it override the
DestinationEqualsHolding checking totally if there was a transfer! So
the tests were earlier working due to a bug in transferbook().

To test):
   1) Make sure the new test scenarios make sense
   2) prove t/db_dependent/Circulation/transferbook.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-06-15 11:42:35 +02:00
..
IssuingRules Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Branch.t Bug 27069: Adjust tests 2021-04-07 16:08:04 +02:00
CalcDateDue.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CalcFine.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CheckIfIssuedToPatron.t Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
CheckValidBarcode.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
dateexpiry.t Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-01 11:16:42 +01:00
GetHardDueDate.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
GetPendingOnSiteCheckouts.t Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
GetTopIssues.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
IsItemIssued.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
issue.t Bug 21301: (QA follow-up) Fix number of tests 2021-01-12 11:17:33 +01:00
MarkIssueReturned.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
NoIssuesChargeGuarantees.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
OfflineOperation.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ReturnClaims.t Bug 25552: Simplify tests using build_sample_item 2021-02-01 17:25:22 +01:00
Returns.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
StoreLastBorrower.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SwitchOnSiteCheckouts.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
TooMany.t Bug 26132: (follow-up) Add test to show errors in max issues amount calculation 2020-11-04 17:32:35 +01:00
transferbook.t Bug 27064: Correct transferbook.t tests to reflect new behaviour of transferbook() 2021-06-15 11:42:35 +02:00
transfers.t Bug 27896: Remove DeleteTransfer 2021-04-23 11:58:49 +02:00