aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-05-25 09:38:30 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-05-25 09:41:25 +0100
commit4eb8d0dfc956e286aeca4250243865895fc45460 (patch)
treed3621720dbd638369e867fbe43550f935a014136 /t
parent61749f6f561c18b8eef9d5b5158a7a1505ba1c4a (diff)
Remove need for sv_SE in tests.
Diffstat (limited to 't')
-rw-r--r--t/open311/getupdates.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/open311/getupdates.t b/t/open311/getupdates.t
index 0e31db482..a2ea70c09 100644
--- a/t/open311/getupdates.t
+++ b/t/open311/getupdates.t
@@ -222,7 +222,7 @@ my $problem3 = $problem_rs->create( {
used_map => 1,
name => '',
state => 'confirmed',
- cobrand => 'fixamingata',
+ cobrand => 'fiksgatami',
user => $user,
created => DateTime->now()->subtract( days => 1 ),
lastupdate => DateTime->now()->subtract( days => 1 ),
@@ -237,7 +237,7 @@ subtest 'test translation of auto-added comment from old-style Open311 update' =
my $o = Open311->new( jurisdiction => 'mysociety', endpoint => 'http://example.com', test_mode => 1, test_get_returns => { 'requests.xml' => $requests_xml } );
FixMyStreet::override_config {
- ALLOWED_COBRANDS => [ 'fixamingata' ],
+ ALLOWED_COBRANDS => [ 'fiksgatami' ],
}, sub {
ok $updates->update_reports( [ 638346 ], $o, $body ), 'Updated reports';
};
@@ -247,7 +247,7 @@ subtest 'test translation of auto-added comment from old-style Open311 update' =
is_deeply(\@qs, [ 'jurisdiction_id=mysociety', 'service_request_id=638346' ], 'query string matches');
is $problem3->comments->count, 1, 'added a comment';
- is $problem3->comments->first->text, "St\xe4ngd av kommunen", 'correct comment text';
+ is $problem3->comments->first->text, "(ikke rapportert til administrasjonen)", 'correct comment text';
};
END {