Browse Source

Bug 27491: Fix t/Languages.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Jonathan Druart 6 months ago
parent
commit
1969157e15
  1. 2
      t/Languages.t

2
t/Languages.t

@ -38,7 +38,7 @@ $module_context->mock(
my ($self, $pref) = @_;
if ($return_undef) {
return;
} elsif ($pref =~ /language/) {
} elsif ($pref eq 'language' || $pref eq 'OPACLanguages') {
return join ',', @languages;
} else {
return 'XXX';

Loading…
Cancel
Save