IPFSTest: Fix configuration mocking
This commit is contained in:
parent
825b4122a5
commit
3055c1598b
4 changed files with 55 additions and 25 deletions
|
|
@ -282,7 +282,7 @@ defmodule Pleroma.Upload do
|
|||
end
|
||||
|
||||
Pleroma.Uploaders.IPFS ->
|
||||
Config.get([Pleroma.Uploaders.IPFS, :get_gateway_url])
|
||||
@config_impl.get([Pleroma.Uploaders.IPFS, :get_gateway_url])
|
||||
|
||||
_ ->
|
||||
public_endpoint || upload_base_url || Pleroma.Web.Endpoint.url() <> "/media/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue