convert all test cleanup to addToCleanup
This commit is contained in:
parent
421b9652cf
commit
4c18ba3563
82 changed files with 190 additions and 307 deletions
|
|
@ -72,7 +72,7 @@ SKIP: {
|
|||
} );
|
||||
my $tag = WebGUI::VersionTag->getWorking( $session );
|
||||
$tag->commit;
|
||||
WebGUI::Test->tagsToRollback($tag);
|
||||
WebGUI::Test->addToCleanup($tag);
|
||||
WebGUI::Search::Index->create( $article );
|
||||
my $searcher = WebGUI::Search->new($session);
|
||||
my $assetIds = $searcher->search({ keywords => "Chinese", })->getAssetIds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue