Browse Source

{:error, :enoent} s3 fix

s3 tests were executed before temp file was uploaded
bugfix/non-ap_enabled-direct_follow
Alexander Strizhakov 4 years ago
parent
commit
4ba913d641
No known key found for this signature in database GPG Key ID: 22896A53AEF1381
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/uploaders/s3_test.exs

+ 1
- 1
test/uploaders/s3_test.exs 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]


Loading…
Cancel
Save