parent
98f268e5ec
commit
254f2ea854
|
@ -16,11 +16,11 @@ defp get_final_url(method) do
|
||||||
Path.join([post_base_url, method])
|
Path.join([post_base_url, method])
|
||||||
end
|
end
|
||||||
|
|
||||||
def put_file_endpoint() do
|
def put_file_endpoint do
|
||||||
get_final_url("/api/v0/add")
|
get_final_url("/api/v0/add")
|
||||||
end
|
end
|
||||||
|
|
||||||
def delete_file_endpoint() do
|
def delete_file_endpoint do
|
||||||
get_final_url("/api/v0/files/rm")
|
get_final_url("/api/v0/files/rm")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ defmodule Pleroma.Uploaders.IPFSTest do
|
||||||
use Pleroma.DataCase
|
use Pleroma.DataCase
|
||||||
|
|
||||||
alias Pleroma.Uploaders.IPFS
|
alias Pleroma.Uploaders.IPFS
|
||||||
alias Tesla.Multipart
|
|
||||||
|
|
||||||
import Mock
|
import Mock
|
||||||
import ExUnit.CaptureLog
|
import ExUnit.CaptureLog
|
||||||
|
|
Loading…
Reference in New Issue