From 3d3d255844c7bc67388a2cf4fdb99a9e7c5ba463 Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Wed, 10 Oct 2018 16:17:17 +0200 Subject: [PATCH] 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 --- t/Koha_ExternalContent_RecordedBooks.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.11.0