projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e97ac6
)
And the tests prove their worth, catching a change in interface
author
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 30 Sep 2013 01:02:07 +0000
(14:02 +1300)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 30 Sep 2013 01:02:58 +0000
(14:02 +1300)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/NCIP_Handler.t
patch
|
blob
|
history
diff --git
a/t/NCIP_Handler.t
b/t/NCIP_Handler.t
index
476e313
..
1b97c2f
100644
(file)
--- a/
t/NCIP_Handler.t
+++ b/
t/NCIP_Handler.t
@@
-22,8
+22,9
@@
use Test::More tests => 3; # last test to print
use lib 'lib';
use_ok('NCIP::Handler');
+my $namespace='http://test';
my $type = 'LookupItem';
-ok( my $handler = NCIP::Handler->new($type), 'Create new handler' );
+ok( my $handler = NCIP::Handler->new($
namespace, $
type), 'Create new handler' );
ok( my $response = $handler->handle() );