From: Mirko Tietgen Date: Wed, 10 Oct 2018 14:17:17 +0000 (+0200) Subject: Bug 21536: t/Koha_ExternalContent_RecordedBooks.t skips more tests than scheduled X-Git-Tag: v18.11.00~561 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=ef769ea33276313a47d5b343edc748f538927671;p=koha-ffzg.git Bug 21536: t/Koha_ExternalContent_RecordedBooks.t skips more tests than scheduled t/Koha_ExternalContent_RecordedBooks.t skips more tests than scheduled if WebService::ILS is not available. Test plan: - have a system without Webservice::ILS available - in koha-shell, do prove t/Koha_ExternalContent_RecordedBooks.t - tests should be skipped and tests count as "passed" Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- diff --git a/t/Koha_ExternalContent_RecordedBooks.t b/t/Koha_ExternalContent_RecordedBooks.t index 5e3a4cc916..7fdbfaa032 100755 --- a/t/Koha_ExternalContent_RecordedBooks.t +++ b/t/Koha_ExternalContent_RecordedBooks.t @@ -11,7 +11,7 @@ use Module::Load::Conditional qw( can_load ); plan tests => 3; SKIP: { - skip "cannot find WebService::ILS::RecordedBooks::Partner", 5 + skip "cannot find WebService::ILS::RecordedBooks::Partner", 3 unless can_load( modules => { 'WebService::ILS::RecordedBooks::Patron' => undef } ); use_ok('Koha::ExternalContent::RecordedBooks');