diff options
author | louise <louise> | 2009-09-10 08:54:33 +0000 |
---|---|---|
committer | louise <louise> | 2009-09-10 08:54:33 +0000 |
commit | cdaae9dbf5631ee7c8bf6822fcc0ced0b91de8a6 (patch) | |
tree | 63774a50fbbf7c163e351377b1a54db3a7916e80 /t/Cobrand.t | |
parent | d020b599a3e8be4d9455e8dd5981132b04b2b20c (diff) |
Delegate to cobrand for base_url in base_url_with_lang, delegate to cobrand for contact_email
Diffstat (limited to 't/Cobrand.t')
-rwxr-xr-x | t/Cobrand.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Cobrand.t b/t/Cobrand.t index 3f2e34fba..13e9ef6b4 100755 --- a/t/Cobrand.t +++ b/t/Cobrand.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: Cobrand.t,v 1.5 2009-09-09 15:29:27 louise Exp $ +# $Id: Cobrand.t,v 1.6 2009-09-10 08:54:33 louise Exp $ # use strict; @@ -63,7 +63,7 @@ sub test_base_url{ # should get the result of the page function in the cobrand module if one exists my $base_url = Cobrand::base_url($cobrand); - is('mysite.example.com', $base_url, 'base_url returns output from cobrand module'); + is('http://mysite.example.com', $base_url, 'base_url returns output from cobrand module'); # should return the base url from the config if there is no cobrand module $cobrand = 'nosite'; |