X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Ftest.exs;h=26b5410fe8b594e97e018a49d7fe95d4f2c16df5;hb=9a858621d603422c4b992b9f9fe76da9331a6d0c;hp=5d91279a22ae32927b22760825d6d3e0b73d7e73;hpb=a3b9741a627ab0ab0e2ec0dc13c1ed81283cc50a;p=akkoma diff --git a/config/test.exs b/config/test.exs index 5d91279a2..26b5410fe 100644 --- a/config/test.exs +++ b/config/test.exs @@ -18,11 +18,13 @@ config :pleroma, Pleroma.Repo, username: "postgres", password: "postgres", database: "pleroma_test", - hostname: "localhost", + hostname: System.get_env("DB_HOST") || "localhost", pool: Ecto.Adapters.SQL.Sandbox # Reduce hash rounds for testing config :comeonin, :pbkdf2_rounds, 1 -config :pleroma, :websub_verifier, Pleroma.Web.WebsubMock +config :pleroma, :websub, Pleroma.Web.WebsubMock +config :pleroma, :ostatus, Pleroma.Web.OStatusMock +config :pleroma, :httpoison, HTTPoisonMock