From 5d6ee0c7a0de306d68a66a23d7c2414d7274de74 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 23 Mar 2017 12:07:49 -0300 Subject: [PATCH] Bug 17828: (followup) Add Test::Exception as dependency Test::Exception is available on Jessie and already installed when koha-common gets installed Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Installer/PerlDependencies.pm | 67 +++++++++++++++++--------------- 1 file changed, 36 insertions(+), 31 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index f8a96c44e4..a9e0ba932f 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -164,11 +164,6 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '1.01' }, - 'Test::Harness' => { - 'usage' => 'Core', - 'required' => '1', - 'min_ver' => '2.56' - }, 'PDF::API2::Util' => { 'usage' => 'Core', 'required' => '1', @@ -382,11 +377,6 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '0.05' }, - 'Test::More' => { - 'usage' => 'Core', - 'required' => '1', - 'min_ver' => '0.8' - }, 'GD::Barcode::UPCE' => { 'usage' => 'Core', 'required' => '1', @@ -567,30 +557,55 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '1.39' }, - 'Test::MockObject' => { + 'Text::Bidi' => { + 'usage' => 'Label batch PDF', + 'required' => '1', + 'min_ver' => '0.03', + }, + 'Test::DBIx::Class' => { + 'usage' => 'Testing modules utilising DBIx::Class', + 'required' => '0', + 'min_ver' => '0.42', + }, + 'Test::Deep' => { 'usage' => 'Core', 'required' => '0', - 'min_ver' => '1.09', + 'min_ver' => '0.106', + }, + 'Test::Exception' => { + 'usage' => 'Core', + 'required' => '0', + 'min_ver' => '0.35', + }, + 'Test::Harness' => { + 'usage' => 'Core', + 'required' => '1', + 'min_ver' => '2.56' }, 'Test::MockModule' => { 'usage' => 'Core', 'required' => '1', 'min_ver' => '0.05', }, - 'Test::Warn' => { + 'Test::MockObject' => { 'usage' => 'Core', 'required' => '0', - 'min_ver' => '0.21', + 'min_ver' => '1.09', + }, + 'Test::More' => { + 'usage' => 'Core', + 'required' => '1', + 'min_ver' => '0.8' }, 'Test::Strict' => { 'usage' => 'Core', 'required' => '0', 'min_ver' => '0.14', }, - 'Test::Deep' => { + 'Test::Warn' => { 'usage' => 'Core', 'required' => '0', - 'min_ver' => '0.106', + 'min_ver' => '0.21', }, 'Test::YAML::Valid' => { 'usage' => 'Core', @@ -602,6 +617,11 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '1.08', }, + 'Test::WWW::Mechanize' => { + 'usage' => 'Testing suite', + 'required' => '0', + 'min_ver' => '1.42', + }, 'HTML::FormatText' => { 'usage' => 'Core', 'required' => '1', @@ -672,11 +692,6 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '9999.13', }, - 'Test::WWW::Mechanize' => { - 'usage' => 'Testing suite', - 'required' => '0', - 'min_ver' => '1.42', - }, 'Library::CallNumber::LC' => { 'usage' => 'Core', 'required' => '1', @@ -717,16 +732,6 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '5.836', }, - 'Test::DBIx::Class' => { - 'usage' => 'Testing modules utilising DBIx::Class', - 'required' => '0', - 'min_ver' => '0.42', - }, - 'Text::Bidi' => { - 'usage' => 'Label batch PDF', - 'required' => '1', - 'min_ver' => '0.03', - }, 'SOAP::Lite' => { 'usage' => 'Norwegian national library card', 'required' => '0', -- 2.39.5