X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fpleroma%2Fhttp_test.exs;h=e8a2538d30da79e5d9c7ad77447671001625eeef;hb=1f863f0a36ebb0648c3d39ecb7ea9e3d01deab60;hp=d394bb94222770ef9217023e769a5e4888a1353c;hpb=1172844ed18d94d84724dc6f11c6e9f72e0ba6ec;p=akkoma diff --git a/test/pleroma/http_test.exs b/test/pleroma/http_test.exs index d394bb942..e8a2538d3 100644 --- a/test/pleroma/http_test.exs +++ b/test/pleroma/http_test.exs @@ -1,5 +1,5 @@ # Pleroma: A lightweight social networking server -# Copyright © 2017-2020 Pleroma Authors +# Copyright © 2017-2021 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.HTTPTest do @@ -9,6 +9,8 @@ defmodule Pleroma.HTTPTest do alias Pleroma.HTTP setup do + clear_config([:http, :send_user_agent], false) + mock(fn %{ method: :get,