b0f9033f13
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> |
||
---|---|---|
.. | ||
IssuingRules | ||
Branch.t | ||
CalcDateDue.t | ||
CalcFine.t | ||
CheckIfIssuedToPatron.t | ||
CheckValidBarcode.t | ||
dateexpiry.t | ||
GetHardDueDate.t | ||
GetPendingOnSiteCheckouts.t | ||
GetTopIssues.t | ||
IsItemIssued.t | ||
issue.t | ||
MarkIssueReturned.t | ||
NoIssuesChargeGuarantees.t | ||
OfflineOperation.t | ||
ReturnClaims.t | ||
Returns.t | ||
StoreLastBorrower.t | ||
SwitchOnSiteCheckouts.t | ||
TooMany.t | ||
transferbook.t | ||
transfers.t |