Save a second in the Template test.
This commit is contained in:
parent
ad4604e9f8
commit
5b3103ebf8
1 changed files with 2 additions and 2 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue