Clean-up a session created for a test.
This commit is contained in:
parent
8374a88046
commit
cef20f0165
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ my $showDebug = $eh->showDebug;
|
||||||
####################################################
|
####################################################
|
||||||
|
|
||||||
my $newSession = WebGUI::Session->open(WebGUI::Test::root, WebGUI::Test::file);
|
my $newSession = WebGUI::Session->open(WebGUI::Test::root, WebGUI::Test::file);
|
||||||
|
WebGUI::Test->sessionsToDelete($newSession);
|
||||||
my $outputBuffer;
|
my $outputBuffer;
|
||||||
open my $outputHandle, '>', \$outputBuffer or die "Unable to create scalar filehandle: $!\n";
|
open my $outputHandle, '>', \$outputBuffer or die "Unable to create scalar filehandle: $!\n";
|
||||||
$newSession->output->setHandle($outputHandle);
|
$newSession->output->setHandle($outputHandle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue