diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-07-13 17:43:09 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-11-11 10:29:20 +0000 |
commit | 49dff7e4e4b7b6572cbf75ccb94383fe516f0e7c (patch) | |
tree | c744c98b99629257009a3ccfed3a2c98f971d04f /perllib/Integrations | |
parent | 26ca5c069d168eded92b95abd3be0d7b7349b430 (diff) |
[Bromley] Fetch/show completion date/resolution.
Diffstat (limited to 'perllib/Integrations')
-rw-r--r-- | perllib/Integrations/Echo.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/perllib/Integrations/Echo.pm b/perllib/Integrations/Echo.pm index 9a5b65ec2..c9eab0cfc 100644 --- a/perllib/Integrations/Echo.pm +++ b/perllib/Integrations/Echo.pm @@ -91,7 +91,12 @@ sub GetTasks { return [ { Ref => { Value => { anyType => [ 123, 456 ] } }, CompletedDate => undef }, - { Ref => { Value => { anyType => [ 234, 567 ] } }, CompletedDate => { DateTime => '2020-05-27T10:00:00Z' } }, + { + Ref => { Value => { anyType => [ 234, 567 ] } }, + State => { Name => 'Completed' }, + Resolution => { Name => 'Wrong Bin Out' }, + CompletedDate => { DateTime => '2020-05-27T10:00:00Z' } + }, { Ref => { Value => { anyType => [ 345, 678 ] } }, CompletedDate => undef }, { Ref => { Value => { anyType => [ 456, 789 ] } }, CompletedDate => undef }, ] if $self->sample_data; @@ -176,6 +181,7 @@ sub GetServiceUnitsForObject { }, LastInstance => { CurrentScheduledDate => { DateTime => '2020-05-27T00:00:00Z' }, + Ref => { Value => { anyType => [ 123, 456 ] } }, }, } }, } }, @@ -194,6 +200,7 @@ sub GetServiceUnitsForObject { }, LastInstance => { CurrentScheduledDate => { DateTime => '2020-05-27T00:00:00Z' }, + Ref => { Value => { anyType => [ 234, 567 ] } }, }, } }, } }, @@ -212,6 +219,7 @@ sub GetServiceUnitsForObject { }, LastInstance => { CurrentScheduledDate => { DateTime => '2020-05-20T00:00:00Z' }, + Ref => { Value => { anyType => [ 345, 678 ] } }, }, } }, } }, @@ -235,6 +243,7 @@ sub GetServiceUnitsForObject { }, LastInstance => { CurrentScheduledDate => { DateTime => '2020-05-18T00:00:00Z' }, + Ref => { Value => { anyType => [ 456, 789 ] } }, }, } ] }, } }, |