From ef319ea2a2572e3bc7d6e864d32fd0d879501f1e Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Fri, 9 Jul 2010 11:04:20 -0500 Subject: [PATCH] fix cleanup --- t/Asset/Asset.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Asset/Asset.t b/t/Asset/Asset.t index 5626f6601..4f3bf6e6f 100644 --- a/t/Asset/Asset.t +++ b/t/Asset/Asset.t @@ -288,7 +288,6 @@ is($tempNode->getParent->getId, $rootAsset->getId, 'Tempspace parent is Root Ass my $ta = $importNode->addChild( { className => 'WebGUI::Asset::TestAsset', } ); -addToCleanup( $ta ); isa_ok( $ta, 'WebGUI::Asset::TestAsset', 'addChild returns correct object' ); ok( @@ -310,6 +309,7 @@ cmp_deeply( [ "two", "three" ], "serialized property returns deserialized ref", ); +$ta->purge; ################################################################ #