Bug 20702: Add unit tests for GetHostItemsInfo
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 3 May 2018 12:08:01 +0000 (14:08 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 28 Jun 2018 08:20:41 +0000 (10:20 +0200)
commit0c09588514f49b7d02bb9adecb4d6cb9cc35b74d
tree645b10c7c183237ebdda083aae397eb39af91833
parentdae5e20b1ba4aafd194cb1ec8be489920075f3c5
Bug 20702: Add unit tests for GetHostItemsInfo

Unfortunately, we did not have unit tests yet.
Adding some simple tests that test basic operation of the sub when the
pref is enabled/disabled and for MARC21/UNIMARC.

Test plan:
[1] Run t/db_dependent/Items/GetHostItemsInfo.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5462c1a88b2652fb25c67f40946436eb243d6ed1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Items/GetHostItemsInfo.t [new file with mode: 0644]