Koha-clms/t/db_dependent/Patron
Tomas Cohen Arazi be0931fdf7
Bug 37898: Wrap Relationships.t inside a transaction
This tests leave data on the DB and need to be fixed. This patch does
that.

To test:
1. Run:
   $ ktd --shell
  k$ echo "SELECT COUNT(*) FROM borrowers \G" | koha-mysql kohadev
  k$ echo "SELECT COUNT(*) FROM borrower_relationships \G" | koha-mysql kohadev
2. Run:
  k$ prove t/db_dependent/Patron/Relationships.t
=> SUCCESS: Tests pass
3. Repeat 1
=> FAIL: Numbers don't match the original ones!
4. Apply this patch
5. Repeat 2 and 3
=> SUCCESS: Tests still pass!
=> SUCCESS: Numbers match!
6. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2024-09-19 12:50:20 +01:00
..
Borrower_Debarments.t Bug 25996: (follow-up) Log the entire object on deletion 2024-05-03 18:02:18 +02:00
Borrower_Discharge.t Bug 36367: Remove _new_userenv 2024-06-14 11:17:17 +01:00
Borrower_Files.t
…
Borrower_PrevCheckout.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
Housebound.t
…
HouseboundProfiles.t
…
HouseboundRoles.t
…
HouseboundVisits.t
…
Messages.t
…
Messaging.t
…
Relationships.t Bug 37898: Wrap Relationships.t inside a transaction 2024-09-19 12:50:20 +01:00