Batch of test cleaups for leaking objects.

This commit is contained in:
Colin Kuskie 2011-04-04 16:06:49 -07:00
parent 28e4f9f245
commit 73261e4651
6 changed files with 7 additions and 8 deletions

View file

@ -54,7 +54,7 @@ my @threads = (
$_->setSkipNotification for @threads; # 100+ messages later...
my $versionTag = WebGUI::VersionTag->getWorking( $session );
$versionTag->commit;
addToCleanup($versionTag);
WebGUI::Test->addToCleanup($versionTag);
my $templateVars;
my $posts;

View file

@ -35,7 +35,7 @@ my @threads = (
className => 'WebGUI::Asset::Post::Thread',
status => 'archived',
title => 'Archived',
}, undef, undef, { skipAutoCommitWorkflows => 1 }),
}, undef, undef, { skipAutoCommitWorkflows => 1, skipNotification => 1 }),
);
my $tag = WebGUI::VersionTag->getWorking( $session );