cleanup extra thread in 12142 test

This commit is contained in:
Paul Driver 2011-05-25 12:30:12 -05:00
parent d450ded7a1
commit 7b7d1b4d2e

View file

@ -41,6 +41,7 @@ SKIP: {
my $copy;
skip('duplicate died', 3) unless
lives_ok { $copy = $thread->duplicate() } q"duplicate() doesn't die";
WebGUI::Test->addToCleanup($copy);
my $groupId = $copy->get('subscriptionGroupId');
ok $groupId, 'Copy has a group id';
isnt $groupId, $thread->get('subscriptionGroupId'), '...a different one';