aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-09-19 17:40:07 +0100
committerDave Arter <davea@mysociety.org>2018-09-28 16:19:47 +0100
commit64cb4e23433b9fb7862f763e1819b6ac3318c3e6 (patch)
tree72fcad96068a4997fa23a670c6ec97d393334302 /t/cobrand
parentec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff)
Factor out photo storage into PhotoStorage::FileSystem backend
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/zurich.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index eccb0c8eb..dbd6ec882 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -416,7 +416,10 @@ FixMyStreet::override_config {
ALLOWED_COBRANDS => [ 'zurich' ],
MAPIT_URL => 'http://mapit.zurich/',
MAP_TYPE => 'Zurich,OSM',
- UPLOAD_DIR => $UPLOAD_DIR,
+ PHOTO_STORAGE_BACKEND => 'FileSystem',
+ PHOTO_STORAGE_OPTIONS => {
+ UPLOAD_DIR => $UPLOAD_DIR,
+ },
}, sub {
# Photo publishing
$mech->get_ok( '/admin/report_edit/' . $report->id );