aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311.t
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/open311.t
parentec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff)
Factor out photo storage into PhotoStorage::FileSystem backend
Diffstat (limited to 't/open311.t')
-rw-r--r--t/open311.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/open311.t b/t/open311.t
index 4dc1b2959..e1ad578d7 100644
--- a/t/open311.t
+++ b/t/open311.t
@@ -322,7 +322,10 @@ subtest 'check media url set' => sub {
$comment->cobrand('fixmystreet');
FixMyStreet::override_config {
- UPLOAD_DIR => $UPLOAD_DIR,
+ PHOTO_STORAGE_BACKEND => 'FileSystem',
+ PHOTO_STORAGE_OPTIONS => {
+ UPLOAD_DIR => $UPLOAD_DIR,
+ },
}, sub {
my $results = make_update_req( $comment, '<?xml version="1.0" encoding="utf-8"?><service_request_updates><request_update><update_id>248</update_id></request_update></service_request_updates>' );