Bug 31676: Fix db_dependent/Circulation.t tests
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Tue, 4 Oct 2022 17:23:28 +0000 (19:23 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 14:01:02 +0000 (11:01 -0300)
commitb5a4d3b6659c854ac059be8e5986601df58baaff
tree7e00e0ce8947711b13f081122eb348cbe30c32d9
parent2b8b02a5870e6d5941077106eae8d13c8b29d05a
Bug 31676: Fix db_dependent/Circulation.t tests

To test:
1) Set "RenewalPeriodBase" syspref to "the current date",
   "CircControl" to "the library the item is from." and
   "HomeOrHoldingBranch" to "the item's home library (homebranch)."
2) Run tests in t/db_dependent/Circulation.t and verify
   that fails (the script should actually crash before all
   can be run).
3) Apply the patch
4) Verifiy that all tests now pass

Sponsored-by: Gothenburg University Library
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Circulation.t