Add a missing use line in Session/Privilege.pm.
Try to completely clean up all session related stuff from each test.
This commit is contained in:
parent
793cc2b0b5
commit
0fa154d84f
2 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ package WebGUI::Session::Privilege;
|
|||
|
||||
use strict;
|
||||
use WebGUI::International;
|
||||
use WebGUI::Operation::Auth;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -105,6 +105,8 @@ BEGIN {
|
|||
}
|
||||
|
||||
END {
|
||||
$SESSION->scratch->deleteAll;
|
||||
$SESSION->var->end;
|
||||
$SESSION->close if defined $SESSION;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue