aboutsummaryrefslogtreecommitdiffstats
path: root/t/Page.t
diff options
context:
space:
mode:
authormatthew <matthew>2009-10-29 11:16:02 +0000
committermatthew <matthew>2009-10-29 11:16:02 +0000
commita19c20e0b5618070bac327f4b82e16a515495a96 (patch)
treec379c68d1ef883dca4de8e8bdee259bd92bf6714 /t/Page.t
parentf135507f6eb5303f310926d92f2427dab1993c3b (diff)
Get FMS header into template.
Diffstat (limited to 't/Page.t')
-rwxr-xr-xt/Page.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Page.t b/t/Page.t
index 90789561d..556dfff3f 100755
--- a/t/Page.t
+++ b/t/Page.t
@@ -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');