From 84ca3db6c70c8e7dc3e568c6cdee7cdadd3bd85a Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Thu, 11 Feb 2016 23:23:27 -0500 Subject: [PATCH] Bug 15777 - Fix base class to prove refactor and fix required MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit TEST PLAN --------- 1) Apply the testing patch and this patch 2) prove -v t/RecordProcess.t -- will complain about string use with "use strict". This is because it is using the module name, instead of the object instantiated with new(). 3) run koha qa test tools. Signed-off-by: Marc VĂ©ron Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- Koha/RecordProcessor/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/RecordProcessor/Base.pm b/Koha/RecordProcessor/Base.pm index dae41a0643..84a28faa06 100644 --- a/Koha/RecordProcessor/Base.pm +++ b/Koha/RecordProcessor/Base.pm @@ -98,7 +98,7 @@ sub initialize { my $self = shift; my $params = shift; - #$self->params = $params; + $self->params($params); return $self; } -- 2.11.4.GIT