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