diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 13:10:12 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 13:10:12 +0000 |
commit | fe936aa5f9b4b110ccb83c33663f90f722081fc0 (patch) | |
tree | 378ec6ec65b348e6ce128f1bed199347fd9209f3 | |
parent | 6bda0ade833b6e7caf20b3be83d4e8448139ec55 (diff) |
Couple of unit test fixes
-rwxr-xr-x | t/Cobrand.t | 2 | ||||
-rwxr-xr-x | t/Page.t | 2 |
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"); } @@ -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' ); |