diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-22 15:45:11 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-22 16:35:13 +0100 |
commit | b16213a1bc7d615d1ce09051a9f4573b190c1b09 (patch) | |
tree | f18a11589691aab7dd474255b4886df29b811548 /t/app/controller/report_new_open311.t | |
parent | 2162e5da55d73df4ceeb91294baa273c0aba1b77 (diff) |
change the way we get open311 singlelist data so we can order it
correctly for display
Diffstat (limited to 't/app/controller/report_new_open311.t')
-rw-r--r-- | t/app/controller/report_new_open311.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new_open311.t b/t/app/controller/report_new_open311.t index 863571ad0..55c5a92e8 100644 --- a/t/app/controller/report_new_open311.t +++ b/t/app/controller/report_new_open311.t @@ -29,7 +29,7 @@ my $contact1 = FixMyStreet::App->model('DB::Contact')->find_or_create( { email => '100', extra => [ { description => 'Lamppost number', code => 'number', required => 'True' }, { description => 'Lamppost type', code => 'type', required => 'False', values => - { value => { Yellow => { key => 'modern' }, 'Gas' => { key => 'old' } } } + { value => [ { name => ['Gas'], key => ['old'] }, { name => [ 'Yellow' ], key => [ 'modern' ] } ] } } ], } ); |