convert all cleanup methods to addToCleanup

This commit is contained in:
Graham Knop 2010-06-10 08:59:18 -05:00
parent 0ef509374f
commit b832deecd1
86 changed files with 198 additions and 315 deletions

View file

@ -24,7 +24,7 @@ plan tests => 4; # increment this value for each test you create
my $session = WebGUI::Test->session;
my $user = WebGUI::User->new($session, "new");
WebGUI::Test->usersToDelete($user);
WebGUI::Test->addToCleanup($user);
$session->user({user => $user});