Skip to content
Permalink
Browse files

Better, cleaner test cleanup.

  • Loading branch information...
perlDreamer committed Nov 21, 2011
1 parent 200494b commit 6e164dc2dd3c30dcd0d7f24269b34fcfeccc1833
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/Workflow/Activity/DeleteExpiredSessions.t
@@ -46,7 +46,7 @@ $retVal = $instance1->run();
is($retVal, 'complete', 'cleanup: activity complete');
$retVal = $instance1->run();
is($retVal, 'done', 'cleanup: activity is done');
$instance1->delete;
$instance1->delete('skipNotify');

my $origSessionTimeout = $session->setting->get('sessionTimeout');

@@ -80,6 +80,7 @@ my $instance2 = WebGUI::Workflow::Instance->create($session,
skipSpectreNotification => 1,
}
);
WebGUI::Test->addToCleanup($instance2);

my $counter = 0;
PAUSE: while ($retVal = $instance2->run()) {

0 comments on commit 6e164dc

Please sign in to comment.
You can’t perform that action at this time.