summaryrefslogtreecommitdiff
path: root/t/61-getDID.t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-12 16:31:06 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-12 16:31:06 -0800
commit1d339ad33855e8df8c1f466b494acbfd0e0907da (patch)
treea4a609605840d1ebf666e651efd41663d8f7da83 /t/61-getDID.t
initial commit
Diffstat (limited to 't/61-getDID.t')
-rw-r--r--t/61-getDID.t28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/61-getDID.t b/t/61-getDID.t
new file mode 100644
index 0000000..15dfe54
--- /dev/null
+++ b/t/61-getDID.t
@@ -0,0 +1,28 @@
+#!/usr/bin/perl -w
+
+#BEGIN {
+# $Net::HTTPS::Any::skip_NetSSLeay = 1;
+# $Net::HTTPS::Any::skip_NetSSLeay = 1;
+#}
+
+use Test::More;
+
+require 't/lib/test_account.pl';
+require Net::VoIP_Innovations;
+
+my($login, $password) = test_account_or_skip();
+plan tests => 1;
+
+my $debug = $ENV{TEST_VERBOSE};
+
+my $gp = Net::VoIP_Innovations->new( 'login' => $login,
+ 'password' => $password,
+ #'debug' => $debug,
+ );
+my $return = $gp->getDID();
+
+use Data::Dumper;
+diag( Dumper($return) ) if $debug;
+
+#XXX test some things about the return...
+ok( $return, 'getDID returned something' );