diff options
author | Dave Arter <davea@mysociety.org> | 2018-09-19 17:40:07 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-09-28 16:19:47 +0100 |
commit | 64cb4e23433b9fb7862f763e1819b6ac3318c3e6 (patch) | |
tree | 72fcad96068a4997fa23a670c6ec97d393334302 /t/sendreport | |
parent | ec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff) |
Factor out photo storage into PhotoStorage::FileSystem backend
Diffstat (limited to 't/sendreport')
-rw-r--r-- | t/sendreport/open311.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/sendreport/open311.t b/t/sendreport/open311.t index 26764dc19..e68a0aa3c 100644 --- a/t/sendreport/open311.t +++ b/t/sendreport/open311.t @@ -74,6 +74,10 @@ subtest 'test report with multiple photos only sends one', sub { STAGING_FLAGS => { send_reports => 1 }, ALLOWED_COBRANDS => [ 'fixmystreet' ], MAPIT_URL => 'http://mapit.uk/', + PHOTO_STORAGE_BACKEND => 'FileSystem', + PHOTO_STORAGE_OPTIONS => { + UPLOAD_DIR => $UPLOAD_DIR, + }, }, sub { $test_data = FixMyStreet::Script::Reports::send(); }; @@ -107,6 +111,10 @@ subtest 'test sending multiple photos', sub { STAGING_FLAGS => { send_reports => 1 }, ALLOWED_COBRANDS => [ 'tester' ], MAPIT_URL => 'http://mapit.uk/', + PHOTO_STORAGE_BACKEND => 'FileSystem', + PHOTO_STORAGE_OPTIONS => { + UPLOAD_DIR => $UPLOAD_DIR, + }, }, sub { $test_data = FixMyStreet::Script::Reports::send(); }; |