diff options
| author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-21 10:31:58 +0300 |
|---|---|---|
| committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-21 10:31:58 +0300 |
| commit | 6afc6717d642060b086d01c2bfff5ead0aad1273 (patch) | |
| tree | 2155d05bd31be34559eb348b7bdc90dae22590b7 /test/upload | |
| parent | af376cbffbae3ae594e594813873719dfd69664e (diff) | |
| download | pleroma-6afc6717d642060b086d01c2bfff5ead0aad1273.tar.gz pleroma-6afc6717d642060b086d01c2bfff5ead0aad1273.zip | |
copy tmp file if test depends on it
Diffstat (limited to 'test/upload')
| -rw-r--r-- | test/upload/filter/anonymize_filename_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/upload/filter/anonymize_filename_test.exs b/test/upload/filter/anonymize_filename_test.exs index 2d5c580f1..adff70f57 100644 --- a/test/upload/filter/anonymize_filename_test.exs +++ b/test/upload/filter/anonymize_filename_test.exs @@ -9,6 +9,8 @@ defmodule Pleroma.Upload.Filter.AnonymizeFilenameTest do alias Pleroma.Upload setup do + File.cp!("test/fixtures/image.jpg", "test/fixtures/image_tmp.jpg") + upload_file = %Upload{ name: "an… image.jpg", content_type: "image/jpg", |
