Produced assets should be refreshed from the db.
This commit is contained in:
parent
2d4d95a01e
commit
e8d196c020
1 changed files with 3 additions and 1 deletions
|
|
@ -37,8 +37,10 @@ sub getAnchoredAsset {
|
|||
my $asset = $parents[-1]->addChild({
|
||||
className => $test->class,
|
||||
}, undef, undef, {skipNotification => 1, skipAutoCommitWorkflows => 1,});
|
||||
WebGUI::Test->addToCleanup($asset);
|
||||
$tag->commit;
|
||||
foreach my $a ($asset, @parents) {
|
||||
$a = $a->cloneFromDb;
|
||||
}
|
||||
WebGUI::Test->addToCleanup($tag);
|
||||
return ($tag, $asset, @parents);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue