fix cleanup
This commit is contained in:
parent
1ff4a26ea4
commit
55dbab152c
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,6 @@ is($tempNode->getParent->getId, $rootAsset->getId, 'Tempspace parent is Root Ass
|
||||||
my $ta = $importNode->addChild( {
|
my $ta = $importNode->addChild( {
|
||||||
className => 'WebGUI::Asset::TestAsset',
|
className => 'WebGUI::Asset::TestAsset',
|
||||||
} );
|
} );
|
||||||
addToCleanup( $ta );
|
|
||||||
isa_ok( $ta, 'WebGUI::Asset::TestAsset', 'addChild returns correct object' );
|
isa_ok( $ta, 'WebGUI::Asset::TestAsset', 'addChild returns correct object' );
|
||||||
|
|
||||||
ok(
|
ok(
|
||||||
|
|
@ -310,6 +309,7 @@ cmp_deeply(
|
||||||
[ "two", "three" ],
|
[ "two", "three" ],
|
||||||
"serialized property returns deserialized ref",
|
"serialized property returns deserialized ref",
|
||||||
);
|
);
|
||||||
|
$ta->purge;
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue