Fetch fresh assets, test fails due to seg fault from JavaScript::Minifier::XS
This commit is contained in:
parent
a766179b89
commit
be4ea78732
1 changed files with 6 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue