aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fixmystreet.com/fixture
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fixmystreet.com/fixture')
-rwxr-xr-xbin/fixmystreet.com/fixture3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/fixmystreet.com/fixture b/bin/fixmystreet.com/fixture
index fc04e531d..1aa85564f 100755
--- a/bin/fixmystreet.com/fixture
+++ b/bin/fixmystreet.com/fixture
@@ -110,6 +110,9 @@ foreach (FixMyStreet::Cobrand->available_cobrand_classes) {
}
}
+my $cache_dir = path(FixMyStreet->config('UPLOAD_DIR'));
+$cache_dir->mkpath;
+
my $user = $users{'user@example.org'};
my $num = 20;
say "Created $num problems around '$location' in cobrand '$cobrand'";