From e6ca366e8649d4b7d49f346da8bfd049934b9df2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 4 Sep 2020 11:28:25 -0400 Subject: [PATCH] Bug 26351: (QA follow-up) Fix QA script issue * Fixes issue with barcode generate stub so perlcritic is happy * Removes extra semicolon from return call in configure method Signed-off-by: Martin Renvoize --- t/lib/Koha/Plugin/Test.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/lib/Koha/Plugin/Test.pm b/t/lib/Koha/Plugin/Test.pm index ea9ff10b198..40aafb55c8d 100644 --- a/t/lib/Koha/Plugin/Test.pm +++ b/t/lib/Koha/Plugin/Test.pm @@ -99,12 +99,13 @@ sub barcode_transform { } sub barcode_generate { - my ( $self, $type, $object ) + my ( $self, $type, $object ) = @_; + return "Koha::Plugin::Test::barcode_generate"; } sub configure { my ( $self, $args ) = @_; - return "Koha::Plugin::Test::configure";; + return "Koha::Plugin::Test::configure"; } sub install { -- 2.25.1