Bug 21478: (QA follow-up) Make sure tests don't fail randomly
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 28 Jan 2019 15:23:35 +0000 (12:23 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 28 Jan 2019 16:06:26 +0000 (16:06 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

t/db_dependent/Hold.t

index ee07055..2ba6f7b 100755 (executable)
@@ -187,7 +187,7 @@ subtest 'suspend() tests' => sub {
 
     my $hold = $builder->build_object(
         {   class => 'Koha::Holds',
-            value => { suspend => 0, suspend_until => undef, waitingdate => undef }
+            value => { found => undef, suspend => 0, suspend_until => undef, waitingdate => undef }
         }
     );