Bug 21536: t/Koha_ExternalContent_RecordedBooks.t skips more tests than scheduled
authorMirko Tietgen <mirko@abunchofthings.net>
Wed, 10 Oct 2018 14:17:17 +0000 (16:17 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 12 Oct 2018 18:02:33 +0000 (15:02 -0300)
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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/Koha_ExternalContent_RecordedBooks.t

index 5e3a4cc..7fdbfaa 100755 (executable)
@@ -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');