]> git.koha-community.org Git - koha.git/commit
Bug 19532: (QA follow-up) Fixing unit tests
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 25 Feb 2022 08:53:11 +0000 (08:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 15 Mar 2022 08:45:51 +0000 (22:45 -1000)
commit82f6b8725ae3cc52b82d794a6973518666ba924f
treea7547152f7756d6327762d765bb0e88045f01156
parent1ddde85181b937f3208f3a59c4aa1630db5cb9a8
Bug 19532: (QA follow-up) Fixing unit tests

(Trivial:) Number of tests in Koha/Item.t
Added a $patron object to resolve warnings like:
* Global symbol "$patron" requires explicit package name (did you forget to declare "my $patron"?) at t/db_dependent/Koha/Patron.t line 1064.
Fixed CanItemBeReserved call in Holds.t, number of tests adjusted

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Holds.t
t/db_dependent/Koha/Item.t
t/db_dependent/Koha/Patron.t