From: Alexander Strizhakov Date: Fri, 8 May 2020 15:51:16 +0000 (+0300) Subject: {:error, :enoent} s3 fix X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4ba913d64157909c63cbeab38b6036a5e4beee53;p=akkoma {:error, :enoent} s3 fix s3 tests were executed before temp file was uploaded --- diff --git a/test/uploaders/s3_test.exs b/test/uploaders/s3_test.exs index 6950ccb25..d949c90a5 100644 --- a/test/uploaders/s3_test.exs +++ b/test/uploaders/s3_test.exs @@ -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]