Fix another leaky test.
This commit is contained in:
parent
dc489b25b9
commit
8a92be9454
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ use WebGUI::Test;
|
|||
use WebGUI::Session;
|
||||
use WebGUI::User;
|
||||
use WebGUI::Macro::LastUpdatedBy;
|
||||
use WebGUI::VersionTag;
|
||||
|
||||
use Test::More; # increment this value for each test you create
|
||||
|
||||
|
|
@ -51,9 +52,12 @@ my %properties_A = (
|
|||
# '1234567890123456789012',
|
||||
);
|
||||
|
||||
my $tag = WebGUI::VersionTag->getWorking($session);
|
||||
my $assetA = $root->addChild(\%properties_A, $properties_A{id});
|
||||
|
||||
$session->asset($assetA);
|
||||
$tag->commit;
|
||||
WebGUI::Test->addToCleanup($tag);
|
||||
|
||||
$output = WebGUI::Macro::LastUpdatedBy::process($session);
|
||||
is($output, 'Andy', 'Default asset last revised by andy');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue