Koha-clms/t/db_dependent/Circulation
Matt Blenkinsop 4b37f32c87
Bug 33292: Add unit tests
Test plan:
1) In KTD, set ClaimReturnedLostValue to any value
2) Checkout an item to a patron
3) Add a manual invoice to that patron's account against that item barcode
4) In the patron's checkouts table, click the Claim returned button
5) The checkbox will have the option to "Refund previous lost fee"
6) Tick this box and submit
7) Have a look at the patron's transactions. There will now be a new line refunding the lost fee from step 3
8) Run the unit tests
prove t/db_dependent/Circulation/ReturnClaims.t
prove t/db_dependent/api/v1/return_claims.t

Signed-off-by: Kristi Krueger <kkrueger@cuyahogalibrary.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-10-24 13:38:16 +02:00
..
Branch.t
…
CalcDateDue.t Bug 6796: (follow-up) QA test tool fixes 2024-04-12 11:26:06 +02:00
CalcFine.t
…
CheckIfIssuedToPatron.t
…
CheckValidBarcode.t
…
GetHardDueDate.t Bug 35539: Remove 'issuelimit' column/field from categories table 2024-07-25 11:11:16 +01:00
GetPendingOnSiteCheckouts.t
…
GetTopIssues.t
…
IsItemIssued.t
…
MarkIssueReturned.t
…
NoIssuesChargeGuarantees.t Bug 28924: (QA follow-up): Fix unit tests 2024-07-18 18:25:57 +02:00
OfflineCirculation.t
…
OfflineOperation.t
…
ReturnClaims.t Bug 33292: Add unit tests 2024-10-24 13:38:16 +02:00
Returns.t Bug 35587: (QA follow-up): QA script tidy 2024-01-05 14:04:05 +01:00
StoreLastBorrower.t
…
SwitchOnSiteCheckouts.t
…
TooMany.t Bug 30324: (follow-up) Remove stray comments 2024-04-29 09:35:32 +02:00
_CalculateAndUpdateFine.t
…
dateexpiry.t Bug 36567: Get rid of Datetime warning in Circulation.t and dateexpiry.t 2024-05-03 16:02:45 +02:00
issue.t Bug 36687: (RM follow-up) Fix unit tests 2024-05-09 09:22:00 +01:00
maxsuspensiondays.t
…
transferbook.t
…
transfers.t
…