aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-03 16:37:27 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-04 13:34:17 +0100
commitb816cd81fea58adcad5ae216b4dfe9030dad40aa (patch)
tree55c337ce183fd549037a7f3d29fcc39cc9367938 /t/open311
parentb191bd1e83ad0ca152afc3a1c6c7823d9f4e683c (diff)
Deal with a variety of low-level test warnings.
* Stop red warning being output by S3 bucket creation failure test * Make sure 'num_old_reports' is always a number on /around pages * Stop 'category_extra' being generated when unnecessary * Prevent warning printed in getservicerequestupdates.t * Prevent info lines from being output in develop.t * Remove line of #s in root.t * And an ID diag in zurich.t
Diffstat (limited to 't/open311')
-rw-r--r--t/open311/getservicerequestupdates.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/open311/getservicerequestupdates.t b/t/open311/getservicerequestupdates.t
index 995338063..2f7917946 100644
--- a/t/open311/getservicerequestupdates.t
+++ b/t/open311/getservicerequestupdates.t
@@ -421,7 +421,10 @@ for my $test (
$problem->state( $test->{start_state} );
$problem->update;
- my $update = Open311::GetServiceRequestUpdates->new( system_user => $user );
+ my $update = Open311::GetServiceRequestUpdates->new(
+ system_user => $user,
+ blank_updates_permitted => 1,
+ );
$update->update_comments( $o, $bodies{2482} );
is $problem->comments->count, 1, 'comment count';