fix template test

This commit is contained in:
Graham Knop 2010-06-15 04:31:07 -05:00
parent 694ed68a76
commit 384fc59877

View file

@ -57,7 +57,7 @@ ok( !$@, 'Accept = json, JSON is returned' );
cmp_deeply( \%var, $andNowItsAPerlHashRef, 'Accept = json, The correct JSON is returned' );
# Done, so remove the json Accept header.
delete $session->request->headers_in->{Accept};
$session->request->headers->remove_header('Accept');
my $newList = WebGUI::Asset::Template->getList($session, 'WebGUI Test Template');