]> git.koha-community.org Git - koha.git/commit
Bug 21985: Fix Circulation tests when ES it set, by using build_sample_item
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 16 Dec 2018 15:28:48 +0000 (12:28 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Oct 2019 09:26:22 +0000 (10:26 +0100)
commit18f9ed465dc990252a0462f86010b874fdde5d77
tree0575fe7bb2193930c62a9a1d1c302b67508e0fa1
parentc66cebf744778dbfc15597079549c161a7836d63
Bug 21985: Fix Circulation tests when ES it set, by using build_sample_item

We should use build_sample item (from bug 21971) to create items,
otherwise we may not have a valid biblioitem and/or MARC record.

Test plan:
Set SearchEngine to ES
prove that the tests in Circulation.t now pass

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Circulation.t
t/lib/TestBuilder.pm