]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 15:24:18 +0000 (17:24 +0200)
commita48604c258b2d8bb7abbd13bedd00a44d0d978ed
tree99a148533d2518b66f53e128460f84d6b75f749e
parentf09739fcec4dbefd487c12d169db6c76ccb903ce
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>
(cherry picked from commit f44e4a72a3bb14fd1cefb7ef94cb700700521eb8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation.t