diff options
author | ivan <ivan> | 2008-06-16 07:07:35 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-06-16 07:07:35 +0000 |
commit | 1ed8df25cb58e83f7470c714062a946b8d19ae07 (patch) | |
tree | edbcbf0b6d9d12f69fc3fb77753bd713d98c5cc9 /t/01-login.t |
initial import...START
Diffstat (limited to 't/01-login.t')
-rw-r--r-- | t/01-login.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/01-login.t b/t/01-login.t new file mode 100644 index 0000000..5a92d6c --- /dev/null +++ b/t/01-login.t @@ -0,0 +1,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::GlobalPOPs::MediaServicesAPI'; + +my $gp = Net::GlobalPOPs::MediaServicesAPI->new('login' => $login, + 'password' => $password ); + +#eww. what is the right, TEST_VERBOSE-aware way to do this +warn Net::GlobalPOPs::MediaServicesAPI->errstr unless $gp; + +ok( $gp, 'Login sucessful' ); |