From 5203c35563e5a288f51406a93e07c9e8bb6e35b9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 4 Feb 2010 12:53:51 -0800 Subject: [PATCH] Remove test for headBlock handling. --- t/Asset/Template.t | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/t/Asset/Template.t b/t/Asset/Template.t index ad0f3c5bf..e4bc81e23 100644 --- a/t/Asset/Template.t +++ b/t/Asset/Template.t @@ -16,7 +16,7 @@ use WebGUI::Test; use WebGUI::Session; use WebGUI::Asset::Template; 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 JSON qw{ from_json }; @@ -74,13 +74,9 @@ is($templateCopy->get('isDefault'), 0, 'isDefault set to 0 on copy'); my $template3 = $importNode->addChild({ className => "WebGUI::Asset::Template", title => 'headBlock test', - headBlock => "tag1 tag2 tag3", 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 = ( {type => 'headScript', sequence => 1, url => 'bar'}, {type => 'headScript', sequence => 0, url => 'foo'},