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 Bug 34279: Don't enforce overduefinescap unless it is greater than 0 2023-07-19 13:00:41 -03:00
CheckIfIssuedToPatron.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
CheckValidBarcode.t
…
GetHardDueDate.t Bug 35539: Remove 'issuelimit' column/field from categories table 2024-07-25 11:11:16 +01:00
GetPendingOnSiteCheckouts.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
GetTopIssues.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
IsItemIssued.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
MarkIssueReturned.t Bug 29145: (QA follow-up) Fix tests removing 'unblessed' 2023-10-03 09:24:44 -04:00
NoIssuesChargeGuarantees.t Bug 28924: (QA follow-up): Fix unit tests 2024-07-18 18:25:57 +02:00
OfflineCirculation.t Bug 34529: (QA follow-up) Tidy OfflineCirculation.t 2023-11-06 11:34:46 -03:00
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 Bug 32894: (follow-up) Koha::Item->last_returned_by 2023-06-07 16:44:04 -03:00
SwitchOnSiteCheckouts.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
TooMany.t Bug 30324: (follow-up) Remove stray comments 2024-04-29 09:35:32 +02:00
_CalculateAndUpdateFine.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
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 Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
transferbook.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
transfers.t
…