Skip to content
Permalink
Browse files

Fix another leaky test.

  • Loading branch information...
perlDreamer committed Nov 4, 2011
1 parent dc489b2 commit 8a92be9454a200c608838d8b458c917c6a4a6103
Showing with 4 additions and 0 deletions.
  1. +4 −0 t/Macro/LastUpdatedBy.t
@@ -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');

0 comments on commit 8a92be9

Please sign in to comment.
You can’t perform that action at this time.