[#2497] Fixed MediaProxyWarmingPolicyTest.
This commit is contained in:
parent
88a6ee4a59
commit
759f8bc3ae
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue