Bug 24350: (follow-up) Fix pickup_location test in t/db_dependent/Template/Plugin...
authorAgustin Moyano <agustinmoyano@theke.io>
Sun, 12 Jan 2020 06:11:13 +0000 (03:11 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 13 Jan 2020 10:03:40 +0000 (10:03 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

t/db_dependent/Template/Plugin/Branches.t

index 3879472..be0d113 100644 (file)
@@ -124,7 +124,7 @@ subtest 'pickup_locations() tests' => sub {
         'pickup_locations',
         sub {
             my $result = clone(\@library_array);
-            return $result;
+            return @$result;
         }
     );