]> git.koha-community.org Git - koha.git/commit
Bug 28472: (follow-up) add unit test for the case where location = NULL
authorAndreas Roussos <a.roussos@dataly.gr>
Fri, 17 Sep 2021 13:51:51 +0000 (15:51 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Oct 2021 20:11:06 +0000 (10:11 -1000)
commit9d2af11f50bd475a1711c49ce54c8f9cbe37eb94
tree67b7eb7bedc6a1be9299c0fd22e61eeba8fc1542
parent6c51ccd520501d15fa79fe54ed3cbfd138fc4290
Bug 28472: (follow-up) add unit test for the case where location = NULL

This patch adds an extra unit test, to cover the case where the
UpdateItemLocationOnCheckin System Preference is set to "_ALL_: CART"
and the item being returned has no shelving location set.

Test plan:

1) Apply the patch provided earlier
2) prove -v t/db_dependent/Circulation/issue.t
   ...and sign off if all tests pass.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
JD amended patch: use 'is' instead of 'ok'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d26e754f03bd21857f768911c1373c80cc14476b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation/issue.t