do not test return value of www_deployPackage
This commit is contained in:
parent
586fdb0ec6
commit
a55f36a95b
1 changed files with 2 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ use WebGUI::VersionTag;
|
||||||
|
|
||||||
use Test::More; # increment this value for each test you create
|
use Test::More; # increment this value for each test you create
|
||||||
use Test::MockObject;
|
use Test::MockObject;
|
||||||
plan tests => 7;
|
plan tests => 6;
|
||||||
|
|
||||||
my $session = WebGUI::Test->session;
|
my $session = WebGUI::Test->session;
|
||||||
$session->user({userId => 3});
|
$session->user({userId => 3});
|
||||||
|
|
@ -63,8 +63,7 @@ is(scalar @{ $targetFolderChildren }, 0, 'target folder has no children');
|
||||||
|
|
||||||
$versionTag->commit;
|
$versionTag->commit;
|
||||||
|
|
||||||
my $deployReturn = $targetFolder->www_deployPackage();
|
$targetFolder->www_deployPackage();
|
||||||
is($deployReturn, "", 'www_deployPackage returns empty string');
|
|
||||||
|
|
||||||
$targetFolderChildren = $targetFolder->getLineage(["children"], {returnObjects => 1,});
|
$targetFolderChildren = $targetFolder->getLineage(["children"], {returnObjects => 1,});
|
||||||
is(scalar @{ $targetFolderChildren }, 1, 'target folder now has 1 child');
|
is(scalar @{ $targetFolderChildren }, 1, 'target folder now has 1 child');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue