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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 1 Feb 2019 12:02:05 +0000 (12:02 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e33f125384694dd825965dffae8d2ca31840aecf)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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 }
         }
     );