From 1ed8df25cb58e83f7470c714062a946b8d19ae07 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 16 Jun 2008 07:07:35 +0000 Subject: initial import... --- t/01-login.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 t/01-login.t (limited to 't/01-login.t') 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' ); -- cgit v1.2.1