projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a7f23c0
)
Bug 10126: (qa followup) fix tests
author
Tomas Cohen Arazi
<tomascohen@gmail.com>
Thu, 16 Oct 2014 13:24:07 +0000 (10:24 -0300)
committer
Tomas Cohen Arazi
<tomascohen@gmail.com>
Thu, 16 Oct 2014 13:24:10 +0000 (10:24 -0300)
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 <tomascohen@gmail.com>
C4/Reports/Guided.pm
patch
|
blob
|
history
diff --git
a/C4/Reports/Guided.pm
b/C4/Reports/Guided.pm
index
b782407
..
f793a25
100644
(file)
--- 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;
}