From 40a4c16e1708e5921c6d6b7297886b4177a84280 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 2 Mar 2016 14:33:27 +0100 Subject: [PATCH] Bug 15956: Move SIPILS.t to SIP/ILS.t Content-Type: text/plain; charset=utf-8 Move the file. Some trivial (cosmetic) edits: whitespace, comments. Test plan: Run SIP/ILS.t Signed-off-by: Marcel de Rooy --- t/db_dependent/{SIPILS.t => SIP/ILS.t} | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) rename t/db_dependent/{SIPILS.t => SIP/ILS.t} (81%) diff --git a/t/db_dependent/SIPILS.t b/t/db_dependent/SIP/ILS.t similarity index 81% rename from t/db_dependent/SIPILS.t rename to t/db_dependent/SIP/ILS.t index 196c9b2..77eafa2 100755 --- a/t/db_dependent/SIPILS.t +++ b/t/db_dependent/SIP/ILS.t @@ -1,5 +1,8 @@ #!/usr/bin/perl +# Tests for C4::SIP::ILS +# Please help to extend them! + # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it @@ -26,16 +29,15 @@ BEGIN { my $class = 'C4::SIP::ILS'; my $institution = { id => 'CPL', }; -my $ils = $class->new($institution); +my $ils = $class->new( $institution ); isa_ok( $ils, $class ); # Check all methods required for interface are there -# NB the mon_block routines are not here but Sip.pm thinks it can call them -my @methods = ( - qw( find_patron find_item checkout_ok checkin_ok offline_ok status_update_ok - offline_ok checkout checkin end_patron_session pay_fee add_hold cancel_hold - alter_hold renew renew_all) +my @methods = qw( + find_patron find_item checkout_ok checkin_ok offline_ok status_update_ok + offline_ok checkout checkin end_patron_session pay_fee add_hold cancel_hold + alter_hold renew renew_all ); can_ok( $ils, @methods ); -- 1.7.10.4