Add test to make sure Import Node's parent is Asset Root.
This commit is contained in:
parent
6b2eeba271
commit
adb099dcea
1 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue