From adb099dceac3d7f283a3b58d4415b8a348a7747a Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 7 Sep 2006 20:12:05 +0000 Subject: [PATCH] Add test to make sure Import Node's parent is Asset Root. --- t/Asset/Asset.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/Asset.t b/t/Asset/Asset.t index 298dd08f9..51513aa35 100644 --- a/t/Asset/Asset.t +++ b/t/Asset/Asset.t @@ -17,7 +17,7 @@ use WebGUI::Session; use WebGUI::Asset; use WebGUI::Asset::Wobject::Navigation; -use Test::More tests => 19; # increment this value for each test you create +use Test::More tests => 20; # increment this value for each test you create my $session = WebGUI::Test->session; @@ -94,4 +94,4 @@ is($mediaFolder->getId, 'PBasset000000000000003', 'Media Folder Asset ID check') my $importNode = WebGUI::Asset->getImportNode($session); isa_ok($importNode, 'WebGUI::Asset::Wobject::Folder'); is($importNode->getId, 'PBasset000000000000002', 'Import Node Asset ID check'); - +is($importNode->getParent->getId, $rootAsset->getId, 'Import Nodes parent is Root Asset');