aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/rss.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-23 17:07:41 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-23 17:07:41 +0100
commit7aa879d03334c4092d60d5f39443ad9b2405bac5 (patch)
tree2b306fa277c394e5b7545df742e60d9467a33906 /t/app/controller/rss.t
parent95d4d488e8e409e9646ab24731a50ee2846d68c3 (diff)
Don't show postcode column in RSS/alert emails, may have no bearing on report.
Diffstat (limited to 't/app/controller/rss.t')
-rw-r--r--t/app/controller/rss.t11
1 files changed, 2 insertions, 9 deletions
diff --git a/t/app/controller/rss.t b/t/app/controller/rss.t
index c6ab20574..77e2c7ee1 100644
--- a/t/app/controller/rss.t
+++ b/t/app/controller/rss.t
@@ -41,7 +41,7 @@ my $report = FixMyStreet::App->model('DB::Problem')->find_or_create( {
$mech->get_ok("/rss/pc/EH11BB/2");
-$mech->content_contains( "Testing, 10th October, EH1 1BB" );
+$mech->content_contains( "Testing, 10th October" );
$mech->content_lacks( 'Nearest road to the pin' );
$report->geocode(
@@ -106,19 +106,12 @@ $report->geocode(
'authenticationResultCode' => 'ValidCredentials'
}
);
-$report->postcode('eh11bb');
$report->update();
$mech->get_ok("/rss/pc/EH11BB/2");
-$mech->content_contains( "Testing, 10th October, EH1 1BB" );
+$mech->content_contains( "Testing, 10th October" );
$mech->content_contains( '18 North Bridge, Edinburgh' );
-$report->postcode('Princes St, Edinburgh');
-$report->update();
-
-$mech->get_ok("/rss/pc/EH11BB/2");
-$mech->content_contains( "Testing, 10th October, Princes St, Edinburgh" );
-
$report->delete();
$user1->delete();