Browse Source

Bug 29564: Use List::MoreUtils so SIP U16/Xenial does not break

- run prove t/00-load.t, see error
 - apply patch

    00:07:08.189 koha_1       | #   Failed test 'use C4::SIP::Sip::Configuration;'
    00:07:08.189 koha_1       | #   at t/00-load.t line 46.
    00:07:08.189 koha_1       | #     Tried to use 'C4::SIP::Sip::Configuration'.
    00:07:08.189 koha_1       | #     Error:  "uniq" is not exported by the List::Util module

 - run prove t/00-load.t, see tests pass :0)

https://bugs.koha-community.org/show_bug.cgi?id=29478

https://bugs.koha-community.org/show_bug.cgi?id=29564

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11/bug30761
Mason James 2 years ago
committed by Jonathan Druart
parent
commit
fb2e8e3450
  1. 2
      C4/SIP/Sip/Configuration.pm

2
C4/SIP/Sip/Configuration.pm

@ -9,7 +9,7 @@ package C4::SIP::Sip::Configuration;
use strict;
use warnings;
use XML::Simple qw(:strict);
use List::Util qw(uniq);
use List::MoreUtils qw(uniq);
use C4::SIP::Sip qw(siplog);
use Koha::Libraries;

Loading…
Cancel
Save