Mock HTTPoison in testing.
This commit is contained in:
parent
7269c51f3a
commit
d982f04a65
19 changed files with 2527 additions and 9 deletions
|
|
@ -32,6 +32,7 @@ config :mime, :types, %{
|
|||
|
||||
config :pleroma, :websub, Pleroma.Web.Websub
|
||||
config :pleroma, :ostatus, Pleroma.Web.OStatus
|
||||
config :pleroma, :httpoison, HTTPoison
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
|
|
|||
|
|
@ -27,3 +27,4 @@ config :comeonin, :pbkdf2_rounds, 1
|
|||
|
||||
config :pleroma, :websub, Pleroma.Web.WebsubMock
|
||||
config :pleroma, :ostatus, Pleroma.Web.OStatusMock
|
||||
config :pleroma, :httpoison, HTTPoisonMock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue