From be4ea7873219b29d08f8e5e5e16f6377f8929fa2 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 11 Jun 2010 15:42:59 -0700 Subject: [PATCH] Fetch fresh assets, test fails due to seg fault from JavaScript::Minifier::XS --- t/FilePump/Bundle.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(