Koha-clms/t/db_dependent/Koha/Old
Martin Renvoize b494793ce8
Bug 33284: (follow-up) Fix unit tests
We have a case here where we have checkout_id pointing at issues and
old_issues tables. We need to trick TestBuilder to NOT automagically
build our related checkout.. This patch passes 'undef' to the foreign
key field and then sets it after the fact to the related Old::Checkouts
objects we've already built above.

This patch should prevent the random failures we were seeing before

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d6af10d881)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-08-04 10:13:04 +02:00
..
Checkout.t Bug 33284: (follow-up) Fix unit tests 2025-08-04 10:13:04 +02:00
Checkouts.t Bug 33284: (follow-up) Fix unit tests 2025-08-04 10:13:04 +02:00
Hold.t Bug 40438: Remove warnings from Koha/Old/Hold.t 2025-08-01 15:03:47 +02:00
Holds.t
…