Bugzilla – Attachment 48665 Details for
Bug 15956
Rearranging some SIP unit tests (testable without SIP server)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15956: Move SIPILS.t to SIP/ILS.t
Bug-15956-Move-SIPILSt-to-SIPILSt.patch (text/plain), 1.78 KB, created by
Marcel de Rooy
on 2016-03-04 10:14:45 UTC
(
hide
)
Description:
Bug 15956: Move SIPILS.t to SIP/ILS.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-03-04 10:14:45 UTC
Size:
1.78 KB
patch
obsolete
>From 40a4c16e1708e5921c6d6b7297886b4177a84280 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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 <m.de.rooy@rijksmuseum.nl> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15956
:
48544
|
48545
|
48546
|
48547
|
48656
|
48663
|
48664
|
48665
|
48666
|
50239
|
50240
|
50241
|
50242
|
50765
|
50766
|
50767
|
50768