diff options
-rw-r--r-- | .cypress/cypress/integration/category_tests.js | 1 | ||||
-rwxr-xr-x | bin/fixmystreet.com/fixture | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.cypress/cypress/integration/category_tests.js b/.cypress/cypress/integration/category_tests.js index e9cf6b0d1..60ef240fa 100644 --- a/.cypress/cypress/integration/category_tests.js +++ b/.cypress/cypress/integration/category_tests.js @@ -16,6 +16,7 @@ describe('Basic categories', function() { 'Flytipping', 'Footpath/bridleway away from road', 'Graffiti', + 'Licensing', 'Parks/landscapes', 'Pavements', 'Potholes', 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.' }); |