diff options
| author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-08-07 09:38:05 +0300 | 
|---|---|---|
| committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-08-07 09:38:05 +0300 | 
| commit | 1298a2ea2c63f14cc080eb549377c6a1274b1628 (patch) | |
| tree | fe50b19542682173af1314766571731f69e904f5 /test/upload | |
| parent | b8021016ebef23903c59e5140d4efb456a84a347 (diff) | |
| parent | b9ebb55d2aabdf4c99b05efab9d4ad31b25f888d (diff) | |
| download | pleroma-1298a2ea2c63f14cc080eb549377c6a1274b1628.tar.gz pleroma-1298a2ea2c63f14cc080eb549377c6a1274b1628.zip | |
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
# Conflicts:
#	mix.lock
Diffstat (limited to 'test/upload')
| -rw-r--r-- | test/upload/filter/anonymize_filename_test.exs | 2 | ||||
| -rw-r--r-- | test/upload/filter/exiftool_test.exs | 2 | 
2 files changed, 4 insertions, 0 deletions
| diff --git a/test/upload/filter/anonymize_filename_test.exs b/test/upload/filter/anonymize_filename_test.exs index 2d5c580f1..adff70f57 100644 --- a/test/upload/filter/anonymize_filename_test.exs +++ b/test/upload/filter/anonymize_filename_test.exs @@ -9,6 +9,8 @@ defmodule Pleroma.Upload.Filter.AnonymizeFilenameTest do    alias Pleroma.Upload    setup do +    File.cp!("test/fixtures/image.jpg", "test/fixtures/image_tmp.jpg") +      upload_file = %Upload{        name: "an… image.jpg",        content_type: "image/jpg", diff --git a/test/upload/filter/exiftool_test.exs b/test/upload/filter/exiftool_test.exs index a1b7e46cd..8ed7d650b 100644 --- a/test/upload/filter/exiftool_test.exs +++ b/test/upload/filter/exiftool_test.exs @@ -7,6 +7,8 @@ defmodule Pleroma.Upload.Filter.ExiftoolTest do    alias Pleroma.Upload.Filter    test "apply exiftool filter" do +    assert Pleroma.Utils.command_available?("exiftool") +      File.cp!(        "test/fixtures/DSCN0010.jpg",        "test/fixtures/DSCN0010_tmp.jpg" | 
