aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311/getupdates.t
diff options
context:
space:
mode:
Diffstat (limited to 't/open311/getupdates.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 {