Commit 3c690b83 authored by Xavier Guimard's avatar Xavier Guimard

LEMONLDAP::NG : 'make test' bug fix: failed with AuthCAS

parent 60e18350
......@@ -5,7 +5,7 @@
# change 'tests => 1' to 'tests => last_test_to_print';
use Test::More tests => 2;
use Test::More tests => 1;
#########################
......@@ -16,12 +16,10 @@ use Test::More tests => 2;
# not run.
SKIP: {
eval { require AuthCAS };
skip
"AuthCAS is not installed, so Lemonldap::NG::Portal::AuthCAS will not be useable",
1
if ($@);
use_ok('Lemonldap::NG::Portal::Simple');
skip "AuthCAS is not installed, so Lemonldap::NG::Portal::AuthCAS will not be useable", 1 if ($@);
my $p;
eval { require Lemonldap::NG::Portal::Simple };
skip "Problem with Lemonldap::NG::Portal::Simple, Lemonldap::NG::Portal::AuthCAS will not be tested", 1 if ($@);
ok(
$p = Lemonldap::NG::Portal::Simple->new(
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment