Mock HTTPoison in testing.

This commit is contained in:
Roger Braun 2017-05-05 14:16:54 +02:00
commit d982f04a65
19 changed files with 2527 additions and 9 deletions

View file

@ -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.

View file

@ -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