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>
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');