diff options
author | Struan Donald <struan@exo.org.uk> | 2012-03-20 15:43:12 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-03-20 15:43:12 +0000 |
commit | 245e2f4ffd812c67ed4c4298cc1f142f59fe1b97 (patch) | |
tree | 54b075e16a3cda1a96fc4ded9345ef40cc309187 /t/open311 | |
parent | 95ffa6ce5fb32c09fcc389b69057a6abb0efec9a (diff) |
regularise data structure in open311 module as that is more sensible
Diffstat (limited to 't/open311')
-rw-r--r-- | t/open311/getservicerequestupdates.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/open311/getservicerequestupdates.t b/t/open311/getservicerequestupdates.t index a64c9fbae..c9f97cd5a 100644 --- a/t/open311/getservicerequestupdates.t +++ b/t/open311/getservicerequestupdates.t @@ -70,7 +70,7 @@ for my $test ( my $o = Open311->new( jurisdiction => 'mysociety', endpoint => 'http://example.com', test_mode => 1, test_get_returns => { 'update.xml' => $local_requests_xml } ); my $res = $o->get_service_request_updates; - is_deeply $res->{ request_update }, $test->{ res }, 'result looks correct'; + is_deeply $res->[0], $test->{ res }, 'result looks correct'; }; } |