diff options
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/report_inspect.t | 2 | ||||
-rw-r--r-- | t/cobrand/bucks.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_inspect.t b/t/app/controller/report_inspect.t index afd8d6d17..aeb344922 100644 --- a/t/app/controller/report_inspect.t +++ b/t/app/controller/report_inspect.t @@ -82,7 +82,7 @@ FixMyStreet::override_config { for my $test ( { name => "categories only", - area_ids => undef, + area_ids => [], categories => [ $contact->id ], destination => "/reports/Oxfordshire", previous => "/my/inspector_redirect", diff --git a/t/cobrand/bucks.t b/t/cobrand/bucks.t index 49900114c..c231a5388 100644 --- a/t/cobrand/bucks.t +++ b/t/cobrand/bucks.t @@ -94,7 +94,7 @@ subtest 'flytipping off road sent to extra email' => sub { FixMyStreet::Script::Reports::send(); my @email = $mech->get_email; is $email[0]->header('To'), 'Chiltern <flytipping@chiltern>'; - like $mech->get_text_body_from_email($email[1]), qr/Please note that Buckinghamshire County Council is not responsible/; + unlike $mech->get_text_body_from_email($email[1]), qr/Please note that Buckinghamshire County Council is not responsible/; $report->discard_changes; is $report->external_id, undef, 'Report has right external ID'; }; |