Batch of test cleaups for leaking objects.
This commit is contained in:
parent
28e4f9f245
commit
73261e4651
6 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue