convert all test cleanup to addToCleanup
This commit is contained in:
parent
421b9652cf
commit
4c18ba3563
82 changed files with 190 additions and 307 deletions
|
|
@ -241,7 +241,7 @@ is($siteWideTag->getId(), $siteWideTagId, 'versionTagMode siteWide: reclaim site
|
|||
## Through in a new session as different user
|
||||
my $admin_session = WebGUI::Session->open(WebGUI::Test->file);
|
||||
$admin_session->user({'userId' => 3});
|
||||
WebGUI::Test->sessionsToDelete($admin_session);
|
||||
WebGUI::Test->addToCleanup($admin_session);
|
||||
|
||||
setUserVersionTagMode($admin_session->user(), q{singlePerUser});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue