diff options
author | Struan Donald <struan@exo.org.uk> | 2019-01-03 17:41:32 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-01-07 11:15:14 +0000 |
commit | 71a4ee10c87d37bb7a3e2f1cae313cc9c0c53928 (patch) | |
tree | 82eb5ad74a91d5acc003c8cbd46e455fb7cb232f /bin | |
parent | bf87405adafa89e5df7de3141ef08fb1ec85ff32 (diff) |
[Borsetshire] add extra categories to demo site
Dropped Kerbs and Skips in a Licensing group.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixmystreet.com/fixture | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/fixmystreet.com/fixture b/bin/fixmystreet.com/fixture index 52e38e2aa..b32da6f33 100755 --- a/bin/fixmystreet.com/fixture +++ b/bin/fixmystreet.com/fixture @@ -76,6 +76,15 @@ for my $cat (qw/Overflowing Broken Missing/) { $child_cat->update; } +for my $cat ('Dropped Kerbs', 'Skips') { + my $child_cat = FixMyStreet::DB::Factory::Contact->find_or_create({ + body => $body, + category => $cat + }); + $child_cat->set_extra_metadata( group => 'Licensing' ); + $child_cat->update; +} + FixMyStreet::DB::Factory::ResponseTemplate->create({ body => $body, title => 'Generic', text => 'Thank you for your report, we will be in touch with an update soon.' }); |