From 7fd5071e67ea6f3de9e56ff7532ee2fe814e5365 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 31 Oct 2010 18:25:47 -0400 Subject: [PATCH] bug 5327: follow-up to fix SIP tests * 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 Signed-off-by: Chris Cormack --- t/SIP_ILS.t | 2 ++ t/SIP_SIPServer.t | 14 -------------- t/SIP_Sip.t | 2 ++ 3 files changed, 4 insertions(+), 14 deletions(-) delete mode 100755 t/SIP_SIPServer.t diff --git a/t/SIP_ILS.t b/t/SIP_ILS.t index 38e9ebd776..4a3ee70774 100755 --- a/t/SIP_ILS.t +++ b/t/SIP_ILS.t @@ -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 index 48a0a9f137..0000000000 --- a/t/SIP_SIPServer.t +++ /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'); -} - diff --git a/t/SIP_Sip.t b/t/SIP_Sip.t index 6db6acfe99..50d1229964 100755 --- a/t/SIP_Sip.t +++ b/t/SIP_Sip.t @@ -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'); } -- 2.39.5