diff --git a/t/Asset/Template.t b/t/Asset/Template.t index 95275b6e0..c82849165 100644 --- a/t/Asset/Template.t +++ b/t/Asset/Template.t @@ -76,7 +76,7 @@ my $template3 = $importNode->addChild({ title => 'headBlock test', headBlock => "tag1 tag2 tag3", template => "this is a template", -}); +}, undef, time()-5); ok(!$template3->get('headBlock'), 'headBlock is empty'); is($template3->get('extraHeadTags'), 'tag1 tag2 tag3', 'extraHeadTags contains headBlock info'); @@ -101,7 +101,7 @@ ok(exists $session->style->{_javascript}->{$_}, "$_ in style") for qw(foo bar bo # revision-ness of attachments # sleep so the revisiondate isn't duplicated -sleep 1; +#sleep 1; my $template3dup = $template3->duplicate; my @atts3dup = map { delete @{ $_ }{qw/attachId templateId revisionDate/}; $_; } @{ $template3dup->getAttachments };