diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-18 14:55:14 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-23 10:06:32 +0000 |
commit | f44ad2f067346cb3b03d3711fd658a5516e9fd0c (patch) | |
tree | 1667dcb3f8ce0342e3b08a98c809555d9775e58b /t/open311/populate-service-list.t | |
parent | bddeaa7f8b8f495879df99eb5a85828c862f071e (diff) |
[Open311] Refactor cobrand specific code.
Diffstat (limited to 't/open311/populate-service-list.t')
-rw-r--r-- | t/open311/populate-service-list.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/open311/populate-service-list.t b/t/open311/populate-service-list.t index 1415c7b2a..340a91ac5 100644 --- a/t/open311/populate-service-list.t +++ b/t/open311/populate-service-list.t @@ -552,7 +552,11 @@ subtest 'check Bromley skip code' => sub { ); $processor->_current_open311( $o ); - $processor->_current_body( $bromley ); + FixMyStreet::override_config { + ALLOWED_COBRANDS => [ 'bromley' ], + }, sub { + $processor->_current_body( $bromley ); + }; $processor->_current_service( { service_code => 100 } ); $processor->_add_meta_to_contact( $contact ); |