Remove test for headBlock handling.
This commit is contained in:
parent
2f8aff55e2
commit
5203c35563
1 changed files with 1 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ use WebGUI::Test;
|
||||||
use WebGUI::Session;
|
use WebGUI::Session;
|
||||||
use WebGUI::Asset::Template;
|
use WebGUI::Asset::Template;
|
||||||
use Exception::Class;
|
use Exception::Class;
|
||||||
use Test::More tests => 43; # increment this value for each test you create
|
use Test::More tests => 41; # increment this value for each test you create
|
||||||
use Test::Deep;
|
use Test::Deep;
|
||||||
use JSON qw{ from_json };
|
use JSON qw{ from_json };
|
||||||
|
|
||||||
|
|
@ -74,13 +74,9 @@ is($templateCopy->get('isDefault'), 0, 'isDefault set to 0 on copy');
|
||||||
my $template3 = $importNode->addChild({
|
my $template3 = $importNode->addChild({
|
||||||
className => "WebGUI::Asset::Template",
|
className => "WebGUI::Asset::Template",
|
||||||
title => 'headBlock test',
|
title => 'headBlock test',
|
||||||
headBlock => "tag1 tag2 tag3",
|
|
||||||
template => "this is a template",
|
template => "this is a template",
|
||||||
});
|
});
|
||||||
|
|
||||||
ok(!$template3->get('headBlock'), 'headBlock is empty');
|
|
||||||
is($template3->get('extraHeadTags'), 'tag1 tag2 tag3', 'extraHeadTags contains headBlock info');
|
|
||||||
|
|
||||||
my @atts = (
|
my @atts = (
|
||||||
{type => 'headScript', sequence => 1, url => 'bar'},
|
{type => 'headScript', sequence => 1, url => 'bar'},
|
||||||
{type => 'headScript', sequence => 0, url => 'foo'},
|
{type => 'headScript', sequence => 0, url => 'foo'},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue