copy tmp file if test depends on it
This commit is contained in:
parent
af376cbffb
commit
6afc6717d6
2 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue