Fix tests

This commit is contained in:
Egor Kislitsyn 2020-08-31 23:07:14 +04:00
commit 75e07ba206
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
2 changed files with 38 additions and 12 deletions

View file

@ -39,7 +39,8 @@ defmodule Pleroma.Export do
path: id <> "/" <> file_name
}
with :ok <- uploader.put_file(upload), :ok <- File.rm(zip_path) do
with {:ok, _} <- Pleroma.Uploaders.Uploader.put_file(uploader, upload),
:ok <- File.rm(zip_path) do
{:ok, upload}
end
end