Commit d503a6f0 authored by Xavier Guimard's avatar Xavier Guimard

Remove temp dir #1323

parent 6da0f69b
......@@ -5,7 +5,8 @@
# change 'tests => 1' to 'tests => last_test_to_print';
use Test::More tests => 5;
use Test::More tests => 7;
use File::Path;
BEGIN { use_ok('Lemonldap::NG::Common::Session') }
#########################
......@@ -35,6 +36,8 @@ ok( defined $session->id, "Creation of session" );
ok( $session->kind eq "TEST", "Store session kind" );
ok( $session->remove, 'Remove session' );
use_ok('Lemonldap::NG::Common::Apache::Session::Generate::SHA256');
$sessionOptions->{generateModule} =
......@@ -50,3 +53,6 @@ my $session2 = Lemonldap::NG::Common::Session->new(
ok( length $session2->id == 64, "Use SHA256 generate module" );
ok( $session2->remove, 'Remove session' );
rmtree $dir;
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