diff options
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r-- | t/cobrand/zurich.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index 530fde92b..3d25e3585 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -336,11 +336,11 @@ $mech->clear_emails_ok; }); $report = $reports[0]; -$mech->get_ok( '/admin/report_edit/' . $report->id ); -$mech->submit_form_ok( { with_fields => { state => 'planned' } } ); FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'zurich' ], }, sub { + $mech->get_ok( '/admin/report_edit/' . $report->id ); + $mech->submit_form_ok( { with_fields => { state => 'planned' } } ); $mech->get_ok( '/report/' . $report->id ); }; $mech->content_contains('In Bearbeitung'); |