convert all test cleanup to addToCleanup
This commit is contained in:
parent
421b9652cf
commit
4c18ba3563
82 changed files with 190 additions and 307 deletions
|
|
@ -75,7 +75,7 @@ my @senders = ();
|
|||
push @senders, WebGUI::User->create($session);
|
||||
push @senders, WebGUI::User->create($session);
|
||||
push @senders, WebGUI::User->create($session);
|
||||
WebGUI::Test->usersToDelete(@senders);
|
||||
WebGUI::Test->addToCleanup(@senders);
|
||||
$senders[0]->username('first');
|
||||
$senders[0]->profileField('firstName', 'First Only');
|
||||
$senders[1]->username('last');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue