]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Sep 2021 10:32:48 +0000 (12:32 +0200)
commit68ea3d67dd6591602beb61451ab0f5b11799cabf
tree6c5114bbb441569cd25293bf8921dd3b298addc3
parent5de0705275ba5a61ebee2d8766d804a36c611287
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>
t/db_dependent/Circulation/issue.t