convert all test cleanup to addToCleanup
This commit is contained in:
parent
421b9652cf
commit
4c18ba3563
82 changed files with 190 additions and 307 deletions
|
|
@ -211,7 +211,7 @@ undef $book;
|
|||
|
||||
my $otherSession = WebGUI::Test->newSession;
|
||||
my $mergeUser = WebGUI::User->create($otherSession);
|
||||
WebGUI::Test->usersToDelete($mergeUser);
|
||||
WebGUI::Test->addToCleanup($mergeUser);
|
||||
$otherSession->user({user => $mergeUser});
|
||||
my $adminBook = WebGUI::Shop::AddressBook->create($otherSession);
|
||||
my $goodAddress = $adminBook->addAddress({label => 'first'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue