summaryrefslogtreecommitdiff
path: root/t/61-getDID.t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-25 16:53:20 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-25 16:53:20 -0800
commit920293158ad908105cf20f047794a30ca39a64f3 (patch)
tree2b23e5f81a384c43b6872dc64b20cebccfe5b15a /t/61-getDID.t
parent1d339ad33855e8df8c1f466b494acbfd0e0907da (diff)
initial version appears to be hooked up and working against dev sandbox
Diffstat (limited to 't/61-getDID.t')
-rw-r--r--t/61-getDID.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/61-getDID.t b/t/61-getDID.t
index 15dfe54..cd1b8d9 100644
--- a/t/61-getDID.t
+++ b/t/61-getDID.t
@@ -22,7 +22,8 @@ my $gp = Net::VoIP_Innovations->new( 'login' => $login,
my $return = $gp->getDID();
use Data::Dumper;
-diag( Dumper($return) ) if $debug;
-#XXX test some things about the return...
-ok( $return, 'getDID returned something' );
+#test some things about the return...
+ok( $return->{type} ne 'Error', 'getDID returned no error' );
+diag( Dumper($return) ) if $return->{type} eq 'Error';
+