bug 5327: follow-up to fix SIP tests
authorGalen Charlton <gmcharlt@gmail.com>
Sun, 31 Oct 2010 22:25:47 +0000 (18:25 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 1 Nov 2010 19:03:45 +0000 (15:03 -0400)
* removed t/SIP_SIPServer.t - despite the file name,
  C4/SIP/SIPserver.pm is not actually a module and
  cannot be 'used' or 'required'
* set module search path so that t/SIP_ILS.t and
  t/SIP_Sip.t will pass

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
t/SIP_ILS.t
t/SIP_SIPServer.t [deleted file]
t/SIP_Sip.t

index 38e9ebd..4a3ee70 100755 (executable)
@@ -9,6 +9,8 @@ use warnings;
 use Test::More tests => 1;
 
 BEGIN {
+        use FindBin;
+        use lib "$FindBin::Bin/../C4/SIP";
         use_ok('C4::SIP::ILS');
 }
 
diff --git a/t/SIP_SIPServer.t b/t/SIP_SIPServer.t
deleted file mode 100755 (executable)
index 48a0a9f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/perl
-#
-# This Koha test module is a stub!  
-# Add more tests here!!!
-
-use strict;
-use warnings;
-
-use Test::More tests => 1;
-
-BEGIN {
-        use_ok('C4::SIP::SIPServer');
-}
-
index 6db6acf..50d1229 100755 (executable)
@@ -9,6 +9,8 @@ use warnings;
 use Test::More tests => 1;
 
 BEGIN {
+        use FindBin;
+        use lib "$FindBin::Bin/../C4/SIP";
         use_ok('C4::SIP::Sip');
 }