diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-07-26 15:46:14 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-07-26 15:46:14 -0500 |
commit | 6931dbfa582f0e5360e74dffdceee1b9ed564b17 (patch) | |
tree | 1504bbc09a53d5c117ffc671b9816ddf30e075cf /test/uploaders/local_test.exs | |
parent | 15f8921b111bc38d0d9eb9ccd1fd09e41cdbc85e (diff) | |
parent | a7616dec8c43309975cbdfcdd6a1808b56aa66e6 (diff) | |
download | pleroma-6931dbfa582f0e5360e74dffdceee1b9ed564b17.tar.gz pleroma-6931dbfa582f0e5360e74dffdceee1b9ed564b17.zip |
Merge remote-tracking branch 'upstream/develop' into by-approval
Diffstat (limited to 'test/uploaders/local_test.exs')
-rw-r--r-- | test/uploaders/local_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/uploaders/local_test.exs b/test/uploaders/local_test.exs index ae2cfef94..18122ff6c 100644 --- a/test/uploaders/local_test.exs +++ b/test/uploaders/local_test.exs @@ -14,6 +14,7 @@ defmodule Pleroma.Uploaders.LocalTest do describe "put_file/1" do test "put file to local folder" do + File.cp!("test/fixtures/image.jpg", "test/fixtures/image_tmp.jpg") file_path = "local_upload/files/image.jpg" file = %Pleroma.Upload{ @@ -32,6 +33,7 @@ defmodule Pleroma.Uploaders.LocalTest do describe "delete_file/1" do test "deletes local file" do + File.cp!("test/fixtures/image.jpg", "test/fixtures/image_tmp.jpg") file_path = "local_upload/files/image.jpg" file = %Pleroma.Upload{ |