summaryrefslogtreecommitdiff
path: root/t/01-login.t
blob: 2642b59b6417e6390dc507296c10d9610a91d56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl -w

use Test::More;
require 't/lib/test_account.pl';

my($login, $password) = test_account_or_skip;
plan tests => 2;

use_ok 'Net::VoIP_Innovations';

my $gp = Net::VoIP_Innovations->new('login'    => $login,
                                    'password' => $password );

#eww.  what is the right, TEST_VERBOSE-aware way to do this
warn Net::VoIP_Innovations->errstr unless $gp;

ok( $gp, 'Login sucessful' );