diff options
author | Matthew Somerville <matthew@mysociety.org> | 2010-12-22 16:38:37 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2010-12-22 16:38:37 +0000 |
commit | a1f9b9d2422f4b14f79ed40fbd70f18510dfedf2 (patch) | |
tree | c675a4d916d684fde8085fda4c3a53ceb75b7166 /t/Cobrand.t | |
parent | 74a45e725dc529af5dc8a677153f65588d6f8a2a (diff) | |
parent | 7acf747fe181d2e63499e80f235dc1a4ecd5098e (diff) |
Merge branch 'master' into cities_release_1
Diffstat (limited to 't/Cobrand.t')
-rwxr-xr-x | t/Cobrand.t | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/t/Cobrand.t b/t/Cobrand.t index 1f3321b0d..f6c2e9c87 100755 --- a/t/Cobrand.t +++ b/t/Cobrand.t @@ -11,7 +11,7 @@ use strict; use warnings; -use Test::More tests => 62; +use Test::More tests => 59; use Test::Exception; use Error qw(:try); @@ -213,17 +213,6 @@ sub test_url { is($url, '/xyz', 'url returns passed url if there is no url function defined by the cobrand'); } -sub test_show_watermark { - my $cobrand = 'mysite'; - my $watermark = Cobrand::show_watermark($cobrand); - is($watermark, 0, 'show_watermark returns output from cobrand module'); - - $cobrand = 'nosite'; - $watermark = Cobrand::show_watermark($cobrand); - is($watermark, 1, 'watermark returns 1 if there is no show_watermark function defined by the cobrand'); - -} - sub test_allow_photo_upload { my $cobrand = 'mysite'; my $photo_upload = Cobrand::allow_photo_upload($cobrand); @@ -287,7 +276,6 @@ ok(test_root_path_js() == 1, 'Ran all tests for root_js'); ok(test_site_title() == 1, 'Ran all tests for site_title'); ok(test_on_map_list_limit() == 1, 'Ran all tests for on_map_list_limit'); ok(test_url() == 1, 'Ran all tests for url'); -ok(test_show_watermark() == 1, 'Ran all tests for show_watermark'); ok(test_allow_photo_upload() == 1, 'Ran all tests for allow_photo_upload'); ok(test_allow_photo_display() == 1, 'Ran all tests for allow_photo_display'); ok(test_council_check() == 1, 'Ran all tests for council_check'); |