1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

{: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 @@ test "it returns path with bucket namespace when namespace is set" 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]