Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-07 16:19:44 +01:00
parent a9c06a9f35
commit fa0c06a02b
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ defmodule Mobilizon.Service.WebFinger do
Logger.debug(inspect(address))
with {:ok, %HTTPoison.Response{} = response} <-
with false <- is_nil(domain),
{:ok, %HTTPoison.Response{} = response} <-
HTTPoison.get(
address,
[Accept: "application/json, application/activity+json, application/jrd+json"],