aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-06 15:42:29 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-06 15:42:29 +0100
commit967c99a4c5d54d5b8dff0d502115511350c7a87c (patch)
treeee9c69780d5606f9e263e01b96cbb0b828008566 /t
parent222727d7e879838e5c47cf0eb07e739c7969fdae (diff)
Remove unused base_url_for_emails function.
Diffstat (limited to 't')
-rw-r--r--t/app/model/alert_type.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/model/alert_type.t b/t/app/model/alert_type.t
index c23252de6..272ad4900 100644
--- a/t/app/model/alert_type.t
+++ b/t/app/model/alert_type.t
@@ -448,7 +448,7 @@ subtest "check alerts from cobrand send main site url for alerts for different c
my $expected1 = mySociety::Config::get('BASE_URL') . '/report/' . $report_to_county_council->id;
my $expected3 = mySociety::Config::get('BASE_URL') . '/report/' . $report_outside_district->id;
my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker('lichfielddc')->new();
- my $expected2 = $cobrand->base_url_for_emails . '/report/' . $report_to_council->id;
+ my $expected2 = $cobrand->base_url . '/report/' . $report_to_council->id;
like $body, qr#$expected1#, 'non cobrand area report point to fixmystreet.com';
like $body, qr#$expected2#, 'cobrand area report point to cobrand url';
@@ -485,7 +485,7 @@ subtest "check local alerts from cobrand send main site url for alerts for diffe
my $expected1 = mySociety::Config::get('BASE_URL') . '/report/' . $report_to_county_council->id;
my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker('lichfielddc')->new();
- my $expected2 = $cobrand->base_url_for_emails . '/report/' . $report_to_council->id;
+ my $expected2 = $cobrand->base_url . '/report/' . $report_to_council->id;
like $body, qr#$expected1#, 'non cobrand area report point to fixmystreet.com';
like $body, qr#$expected2#, 'cobrand area report point to cobrand url';