parent
cc2fbdf7d1
commit
fd86915f35
@ -1,3 +1,9 @@ |
||||
use Test::More tests => 1; |
||||
BEGIN { use_ok('Lemonldap::NG::Portal::AuthOpenID') } |
||||
|
||||
SKIP: { |
||||
eval { require Net::OpenID::Consumer; }; |
||||
skip "Net::OpenID::Consumer is not installed, so " |
||||
. "Lemonldap::NG::Portal::AuthOpenID will not be useable", 1 |
||||
if ($@); |
||||
use_ok('Lemonldap::NG::Portal::AuthOpenID'); |
||||
} |
||||
|
@ -0,0 +1,10 @@ |
||||
use Test::More tests => 2; |
||||
|
||||
SKIP: { |
||||
eval { require Net::OpenID::Server; }; |
||||
skip "Net::OpenID::Consumer is not installed, so " |
||||
. "Lemonldap::NG::Portal::AuthOpenID will not be useable", 2 |
||||
if ($@); |
||||
use_ok('Lemonldap::NG::Portal::OpenID::Server'); |
||||
use_ok('Lemonldap::NG::Portal::IssuerDBOpenID'); |
||||
} |
@ -1,3 +1,10 @@ |
||||
use Test::More tests => 1; |
||||
BEGIN { use_ok('Lemonldap::NG::Portal::UserDBOpenID') } |
||||
use Test::More tests => 2; |
||||
|
||||
SKIP: { |
||||
eval { require Net::OpenID::Consumer; }; |
||||
skip "Net::OpenID::Consumer is not installed, so " |
||||
. "Lemonldap::NG::Portal::AuthOpenID will not be useable", 2 |
||||
if ($@); |
||||
use_ok('Lemonldap::NG::Portal::OpenID::SREG'); |
||||
use_ok('Lemonldap::NG::Portal::UserDBOpenID'); |
||||
} |
||||
|
Loading…
Reference in new issue