diff options
author | matthew <matthew> | 2009-10-29 11:16:02 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-10-29 11:16:02 +0000 |
commit | a19c20e0b5618070bac327f4b82e16a515495a96 (patch) | |
tree | c379c68d1ef883dca4de8e8bdee259bd92bf6714 /t/Page.t | |
parent | f135507f6eb5303f310926d92f2427dab1993c3b (diff) |
Get FMS header into template.
Diffstat (limited to 't/Page.t')
-rwxr-xr-x | t/Page.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ # Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved. # Email: louise@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.t,v 1.7 2009-10-21 16:09:22 louise Exp $ +# $Id: Page.t,v 1.8 2009-10-29 11:16:03 matthew Exp $ # use strict; @@ -64,7 +64,7 @@ sub test_header() { # Test that template passed is rendered $params{'template'} = 'test'; - $html = Page::template_header('My test title', 'test', $q, 'en-gb', '/../t/templates/'); + $html = Page::template_header('test', $q, '/../t/templates/', title=>'My test title', lang=>'en-gb'); like ($html, qr/My test header template/, 'named template rendered ok'); |