diff options
author | Dave Arter <davea@mysociety.org> | 2020-08-24 16:34:59 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-08-24 17:14:05 +0100 |
commit | d9cf470f321dc334391a35405a527521a3b605d5 (patch) | |
tree | 12744ac9a12117bb548f3911fb255173b6498045 /t/Mock/MapIt.pm | |
parent | 51252c8ad919aa7fe0f8c8fe7ac8afadb6de5b18 (diff) |
[Hackney] Allow editing & addition of contacts with special destination addresses
This adds a cobrand hook to validate the email address provided when editing a contact
in the admin.
Diffstat (limited to 't/Mock/MapIt.pm')
-rw-r--r-- | t/Mock/MapIt.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index 760e0ba52..74e360974 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -122,6 +122,8 @@ sub dispatch_request { $self->output({2326 => {parent_area => undef, id => 2326, name => "Cheltenham Borough Council", type => "DIS"}}); } elsif ($areas eq 'UTA') { $self->output({2650 => {parent_area => undef, id => 2650, name => "Aberdeen Council", type => "UTA"}}); + } elsif ($areas eq 'DIS,LBO,MTD,UTA,CTY,COI,LGD') { + $self->output({2508 => {parent_area => undef, id => 2508, name => "Hackney Council", type => "LBO"}}); } elsif ($areas eq 'GRE') { $self->output({2493 => {parent_area => undef, id => 2493, name => "Greenwich Borough Council", type => "LBO"}}); } elsif ($areas eq 'LBO') { |