{:error, :enoent} s3 fix

s3 tests were executed before temp file was uploaded
This commit is contained in:
Alexander Strizhakov 2020-05-08 18:51:16 +03:00
parent 3210e939bf
commit 4ba913d641
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -58,7 +58,7 @@ defmodule Pleroma.Uploaders.S3Test do
name: "image-tet.jpg",
content_type: "image/jpg",
path: "test_folder/image-tet.jpg",
tempfile: Path.absname("test/fixtures/image_tmp.jpg")
tempfile: Path.absname("test/instance_static/add/shortcode.png")
}
[file_upload: file_upload]