diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-02-10 13:13:42 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-24 09:52:47 +0000 |
commit | f312a56abb68f0cc3d5b554f259968d7a174a14a (patch) | |
tree | 4fd7fe5b3b741cdc4db9052ce98456a0635143d8 /bin/browser-tests | |
parent | 38ac8f605f4eeb7aa53859bd5b455a1cfe81ff73 (diff) |
[TfL] Allow bus stop reports outside London.
After this change, you can safely add the TfL body to other councils
(namely the ones surrounding London that include TfL bus stops);
clicking in those councils on other cobrands will have no change, as the
TfL body will be fully ignored on a non-London council, but on the TfL
cobrand it will allow it for e.g. the selection of bus stops outside
London.
It removes the body rather than just all its categories to prevent a "We
do not have details of the other body covering this area" message
appearing.
Diffstat (limited to 'bin/browser-tests')
-rwxr-xr-x | bin/browser-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/browser-tests b/bin/browser-tests index 04b019880..c7e5df27c 100755 --- a/bin/browser-tests +++ b/bin/browser-tests @@ -11,7 +11,7 @@ my ($cobrand, $coords, $area_id, $name, $mapit_url); BEGIN { $config_file = 'conf/general.yml-example'; - $cobrand = [ 'borsetshire', 'fixmystreet', 'northamptonshire', 'bathnes', 'buckinghamshire', 'hounslow', 'isleofwight', 'peterborough' ]; + $cobrand = [ 'borsetshire', 'fixmystreet', 'northamptonshire', 'bathnes', 'buckinghamshire', 'hounslow', 'isleofwight', 'peterborough', 'tfl' ]; $coords = '51.532851,-2.284277'; $area_id = 2608; $name = 'Borsetshire'; @@ -150,7 +150,7 @@ browser-tests [running options] [fixture options] [cypress options] --help this help message Fixture option: - --cobrand Cobrand(s) to use, default is fixmystreet,northamptonshire,bathnes,buckinghamshire,isleofwight,peterborough + --cobrand Cobrand(s) to use, default is fixmystreet,northamptonshire,bathnes,buckinghamshire,isleofwight,peterborough,tfl --coords Default co-ordinates for created reports --area_id Area ID to use for created body --name Name to use for created body |