From 31cff582d8b7403e45ad081d79ad8990372e0352 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 16 Oct 2014 10:24:07 -0300 Subject: [PATCH] Bug 10126: (qa followup) fix tests It seems the removal of global variables changes the behaviour of Test::MockModule, and it now expects the namespace in front of the statically called method. Signed-off-by: Tomas Cohen Arazi --- C4/Reports/Guided.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index b782407bf5..f793a256da 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -983,7 +983,7 @@ sub IsAuthorisedValueValid { my $reserved_authorised_values = GetReservedAuthorisedValues(); if ( exists $reserved_authorised_values->{$authorised_value} || - IsAuthorisedValueCategory($authorised_value) ) { + C4::Koha::IsAuthorisedValueCategory($authorised_value) ) { return 1; } -- 2.39.5