aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-02-22 15:40:10 +0000
committerDave Arter <davea@mysociety.org>2018-03-14 13:32:37 +0000
commit14570b18dd96d06f4b7c2aa11fade34aa8f06dad (patch)
tree304130825844fc25a29982a233a62234aac89150 /t/app
parentfc172603a4061f33c5e6796e8375e01b7c814111 (diff)
Display ‘pick an option’ placeholder for report extra dropdowns
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/report_new_open311.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/app/controller/report_new_open311.t b/t/app/controller/report_new_open311.t
index 0224e7e47..d79f7883c 100644
--- a/t/app/controller/report_new_open311.t
+++ b/t/app/controller/report_new_open311.t
@@ -64,7 +64,7 @@ foreach my $test (
},
changes => {
number => '',
- type => 'old',
+ type => '',
},
errors => [
'This information is required',
@@ -80,6 +80,7 @@ foreach my $test (
username => 'testopen311@example.com',
category => 'Street lighting',
number => 27,
+ type => 'old',
},
extra => [
{
@@ -146,7 +147,7 @@ foreach my $test (
}
->scrape( $mech->response );
- is_deeply $result->{option}, [ qw/old modern/], 'displayed streetlight type select';
+ is_deeply $result->{option}, [ "", qw/old modern/], 'displayed streetlight type select';
}
$new_values = {