Bug 36160: Use $builder->build_object for patron objects in Circulation.t
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Fri, 23 Feb 2024 18:41:26 +0000 (19:41 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 12:14:49 +0000 (14:14 +0200)
commitf44e4a72a3bb14fd1cefb7ef94cb700700521eb8
treea610e066377b8e087f6b6a8d8d2b45b8312e1022
parentad463f99fd77f80b9731b4d666db27fa26ceadaf
Bug 36160: Use $builder->build_object for patron objects in Circulation.t

1) Set TrackLastPatronActivityTriggers to at least "Checking out an item"
2) Run tests in t/db_dependent/Circulation.t and verify that
   failes with "Invalid value passed, borrowers.updated_on..."
3) Apply patch
4) Run Circulatoint.t tests again and verify that no longer
   produces this error

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/Circulation.t