Browse Source

Bug 26963: (QA follow-up) Update mocked return of pickup_locations

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Martin Renvoize 9 months ago
committed by Jonathan Druart
parent
commit
04a4a34d6e
  1. 3
      t/db_dependent/Template/Plugin/Branches.t

3
t/db_dependent/Template/Plugin/Branches.t

@ -137,7 +137,8 @@ subtest 'pickup_locations() tests' => sub {
$item_class->mock(
'pickup_locations',
sub {
return [$library_1];
return Koha::Libraries->search(
{ branchcode => $library_1->branchcode } );
}
);

Loading…
Cancel
Save