fix problem revealed by tests
update() in a File asset would always create a storage location if one was not yet saved. calling update() in a filter method would cause another one to be created too, messing up the tests.
This commit is contained in:
parent
8c4785b165
commit
19dedc0b7c
2 changed files with 2 additions and 1 deletions
|
|
@ -1017,6 +1017,7 @@ use HTML::Packer;
|
|||
my $asset = WebGUI::Asset->getImportNode( $session )->addChild({
|
||||
className => 'WebGUI::Asset::Snippet',
|
||||
});
|
||||
addToCleanup( $asset );
|
||||
my $unpacked = qq{<title>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue