diff options
author | Dave Arter <davea@mysociety.org> | 2018-09-28 16:20:09 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-09-28 16:20:09 +0100 |
commit | aedfb6de6b4839396b8bcc885e075b28ea9b4885 (patch) | |
tree | 1ac3c9d0148b3f98ff29985e8c760740bb8d2548 /t/sendreport | |
parent | ec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff) | |
parent | 07bc1188dc149e05b61e0d93ecf3ef1c26dc8690 (diff) |
Merge branch 'pluggable-photo-storage'
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(); }; |