X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fpleroma%2Fhttp_test.exs;h=e8a2538d30da79e5d9c7ad77447671001625eeef;hb=3f76de76dac266ea2909dbd1dc88a9533d972952;hp=d394bb94222770ef9217023e769a5e4888a1353c;hpb=b738f709532ff18845f5d8cc3888d0bd67f750ab;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,