[#2497] Fixed MediaProxyWarmingPolicyTest.

This commit is contained in:
Ivan Tashkinov 2020-09-06 15:30:11 +03:00
parent 88a6ee4a59
commit 759f8bc3ae

View 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)