Bug 30072: (followup) Fix random failure of Holds_hooks.t
When building Koha::Holds object, do not let 'found' random otherwise it may take a valid value indicating hold is found. See other holds unit tests. Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
cf8f7aafff
commit
763bfaa55b
|
|
@ -103,7 +103,7 @@ subtest 'Koha::Hold tests' => sub {
|
|||
{
|
||||
class => 'Koha::Holds',
|
||||
value => {
|
||||
borrowernumber => $patron->id,
|
||||
borrowernumber => $patron->id, found => undef,
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
@ -118,7 +118,7 @@ subtest 'Koha::Hold tests' => sub {
|
|||
{
|
||||
class => 'Koha::Holds',
|
||||
value => {
|
||||
borrowernumber => $patron->id,
|
||||
borrowernumber => $patron->id, found => undef,
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue