We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc489b2 commit 8a92be9Copy full SHA for 8a92be9
t/Macro/LastUpdatedBy.t
@@ -16,6 +16,7 @@ use WebGUI::Test;
16
use WebGUI::Session;
17
use WebGUI::User;
18
use WebGUI::Macro::LastUpdatedBy;
19
+use WebGUI::VersionTag;
20
21
use Test::More; # increment this value for each test you create
22
@@ -51,9 +52,12 @@ my %properties_A = (
51
52
# '1234567890123456789012',
53
);
54
55
+my $tag = WebGUI::VersionTag->getWorking($session);
56
my $assetA = $root->addChild(\%properties_A, $properties_A{id});
57
58
$session->asset($assetA);
59
+$tag->commit;
60
+WebGUI::Test->addToCleanup($tag);
61
62
$output = WebGUI::Macro::LastUpdatedBy::process($session);
63
is($output, 'Andy', 'Default asset last revised by andy');
0 commit comments