]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 1 Oct 2021 17:38:42 +0000 (13:38 -0400)
commitd26e754f03bd21857f768911c1373c80cc14476b
tree8922aee26e78223aa7512ac70f1bfec542b411dd
parentd1bf0469d873b01b457f0f6d897443403cdbebbb
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>
t/db_dependent/Circulation/issue.t