diff --git a/t/FilePump/Bundle.t b/t/FilePump/Bundle.t index acecc392c..5aa9d4c20 100644 --- a/t/FilePump/Bundle.t +++ b/t/FilePump/Bundle.t @@ -25,7 +25,7 @@ use WebGUI::Test; # Must use this before any other WebGUI modules use WebGUI::Session; my $startTime = time(); -my $wgBday = 997966800; +my $wgBday = WebGUI::Test->webguiBirthday; #---------------------------------------------------------------------------- # Init @@ -281,6 +281,11 @@ my $snippetTag = WebGUI::VersionTag->getWorking($session); WebGUI::Test->addToCleanup($snippetTag); $snippetTag->commit; + +foreach my $asset ($snippet, $fileAsset) { + $asset = $asset->cloneFromDb; +} + my $guts; $guts = $bundle->fetchAsset(URI->new('asset://filePumpSnippet')); cmp_deeply(