aboutsummaryrefslogtreecommitdiffstats
path: root/t/Page.t
diff options
context:
space:
mode:
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');