From 261f626f7feb9885d92bbca05d42892913ca96b4 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 30 Sep 2013 14:02:07 +1300 Subject: [PATCH] And the tests prove their worth, catching a change in interface Signed-off-by: Chris Cormack --- t/NCIP_Handler.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/NCIP_Handler.t b/t/NCIP_Handler.t index 476e313..1b97c2f 100644 --- 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() ); -- 2.11.0