aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/rss.t
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2017-12-20 01:06:27 +0100
committerMarius Halden <marius.h@lden.org>2017-12-20 01:06:27 +0100
commit8b10c8b8d787e680bb085e2a7543dac50fd39742 (patch)
tree391efde6de4944e350cc0dafbd4e1efb0613e9c3 /t/app/controller/rss.t
parenteef35397ccf8242cdc65dc666db2958b1ee35440 (diff)
parent7e15bd3db202363db4bab8fa7c9f462eabe28fce (diff)
Merge tag 'v2.3' into fiksgatami-dev
Diffstat (limited to 't/app/controller/rss.t')
-rw-r--r--t/app/controller/rss.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/app/controller/rss.t b/t/app/controller/rss.t
index 5ec7bfae7..171121eaa 100644
--- a/t/app/controller/rss.t
+++ b/t/app/controller/rss.t
@@ -1,3 +1,4 @@
+use open ':std', ':locale';
use FixMyStreet::TestMech;
use FixMyStreet::App;
@@ -18,7 +19,7 @@ my $report = FixMyStreet::App->model('DB::Problem')->find_or_create( {
bodies_str => '2651',
areas => ',11808,135007,14419,134935,2651,20728,',
category => 'Street lighting',
- title => 'Testing',
+ title => '&Test’i<n>g \'☃"',
detail => 'Testing Detail',
used_map => 1,
name => $user1->name,
@@ -44,7 +45,7 @@ FixMyStreet::override_config {
}, sub {
$mech->get_ok("/rss/pc/EH11BB/2");
};
-$mech->content_contains( "Testing, 10th October" );
+$mech->content_contains( "&amp;Test’i&lt;n&gt;g &#39;☃&quot;, 10th October" );
$mech->content_lacks( 'Nearest road to the pin' );
is $mech->response->header('Access-Control-Allow-Origin'), '*';
@@ -118,7 +119,7 @@ FixMyStreet::override_config {
}, sub {
$mech->get_ok("/rss/pc/EH11BB/2");
};
-$mech->content_contains( "Testing, 10th October" );
+$mech->content_contains( "&amp;Test’i&lt;n&gt;g &#39;☃&quot;, 10th October" );
$mech->content_contains( '18 North Bridge, Edinburgh' );
$report->delete();