Bug 19943: Fix NoIssuesChargeGuarantees.t - create the biblioitem entry
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Mar 2018 16:01:18 +0000 (13:01 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Mar 2018 16:24:15 +0000 (13:24 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t

index e07ddb1..971208f 100644 (file)
@@ -36,6 +36,7 @@ my $item = $builder->build(
     {
         source => 'Item',
         value  => {
+            biblionumber => $builder->build( { source => 'Biblioitem' } )->{biblionumber},
             notforloan => 0,
             withdrawn  => 0
         }