diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-05-07 18:03:28 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-05-07 18:03:28 +0100 |
commit | 952e759f17d2920cca8620fb987947415bdb5898 (patch) | |
tree | 454bb0bc01e65ab205056f2e8d895b4e227c8b09 /t/open311.t | |
parent | 408d9c08e172c0a6023a15f786c534839a2c56c9 (diff) |
Update some tests to work around small changes in some underlying modules.
Diffstat (limited to 't/open311.t')
-rw-r--r-- | t/open311.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/open311.t b/t/open311.t index 71a87325c..6795b929c 100644 --- a/t/open311.t +++ b/t/open311.t @@ -86,13 +86,14 @@ EOT ; my $c = CGI::Simple->new( $results->{ req }->content ); + (my $c_description = $c->param('description')) =~ s/\r\n/\n/g; is $c->param('email'), $user->email, 'correct email'; is $c->param('first_name'), 'Test', 'correct first name'; is $c->param('last_name'), 'User', 'correct last name'; is $c->param('lat'), 1, 'latitide correct'; is $c->param('long'), 2, 'longitude correct'; - is $c->param('description'), $description, 'description correct'; + is $c_description, $description, 'description correct'; is $c->param('service_code'), 'pothole', 'service code correct'; }; |