blob: cd1b8d920369a0c25fa17dfcbbedf927b5465a5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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;
#test some things about the return...
ok( $return->{type} ne 'Error', 'getDID returned no error' );
diag( Dumper($return) ) if $return->{type} eq 'Error';
|