aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 13:10:12 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 13:10:12 +0000
commitfe936aa5f9b4b110ccb83c33663f90f722081fc0 (patch)
tree378ec6ec65b348e6ce128f1bed199347fd9209f3
parent6bda0ade833b6e7caf20b3be83d4e8448139ec55 (diff)
Couple of unit test fixes
-rwxr-xr-xt/Cobrand.t2
-rwxr-xr-xt/Page.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/Cobrand.t b/t/Cobrand.t
index f6c2e9c87..1f38ec605 100755
--- a/t/Cobrand.t
+++ b/t/Cobrand.t
@@ -51,7 +51,7 @@ sub test_disambiguate_location {
$q = new MockQuery('nosite');
$s = 'London Road';
$s = Cobrand::disambiguate_location('nosite', $s, $q);
- ok($s eq 'London Road', 'should return location string as passed if no cobrand module exists') or diag("Got $s");
+ ok($s eq 'London Road&gl=uk', 'should return location string as passed if no cobrand module exists') or diag("Got $s");
}
diff --git a/t/Page.t b/t/Page.t
index cbd724f75..a1ae7f3aa 100755
--- a/t/Page.t
+++ b/t/Page.t
@@ -71,7 +71,7 @@ sub test_header() {
# Test that template passed is rendered
$params{'template'} = 'test';
- $html = Page::template_include('test', $q,
+ $html = Page::template_include('test-header', $q,
'/../t/templates/' . $q->{site} . '/',
title => 'My test title', lang => 'en-gb'
);