[#2497] Fixed MediaProxyWarmingPolicyTest.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 6 Sep 2020 12:30:11 +0000 (15:30 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 6 Sep 2020 12:30:11 +0000 (15:30 +0300)
test/web/activity_pub/mrf/mediaproxy_warming_policy_test.exs

index 313d59a66169637baafc1c01a53da6c4729765ae..1710c4d2ae98e975bd17aebf9fdafaa985732315 100644 (file)
@@ -22,6 +22,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicyTest do
     }
   }
 
+  setup do: clear_config([:media_proxy, :enabled], true)
+
   test "it prefetches media proxy URIs" do
     with_mock HTTP, get: fn _, _, _ -> {:ok, []} end do
       MediaProxyWarmingPolicy.filter(@message)