Clean-up a session created for a test.

This commit is contained in:
Colin Kuskie 2009-09-24 13:35:28 -07:00
parent 8374a88046
commit cef20f0165

View file

@ -226,6 +226,7 @@ my $showDebug = $eh->showDebug;
####################################################
my $newSession = WebGUI::Session->open(WebGUI::Test::root, WebGUI::Test::file);
WebGUI::Test->sessionsToDelete($newSession);
my $outputBuffer;
open my $outputHandle, '>', \$outputBuffer or die "Unable to create scalar filehandle: $!\n";
$newSession->output->setHandle($outputHandle);