diff --git a/t/AssetHelper/ExportHtml.t b/t/AssetHelper/ExportHtml.t
index 7004f20b5..f7163959e 100644
--- a/t/AssetHelper/ExportHtml.t
+++ b/t/AssetHelper/ExportHtml.t
@@ -51,9 +51,7 @@ my $grand = $child->addChild({
description => 'This is some content',
groupIdView => '7',
});
-my $tag = WebGUI::VersionTag->getWorking( $session );
-$tag->commit;
-addToCleanup( $tag );
+WebGUI::Test->addToCleanup( $top );
my $dir = File::Temp->newdir;
WebGUI::Test->originalConfig( "exportPath" );