mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-08 16:25:25 +00:00
MediaProxyControllerTest: Fix tests
This commit is contained in:
parent
b9f135eaf3
commit
8c0b1fd1d9
1 changed files with 8 additions and 0 deletions
|
@ -9,9 +9,17 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyControllerTest do
|
|||
import Mox
|
||||
|
||||
alias Pleroma.ReverseProxy.ClientMock
|
||||
alias Pleroma.UnstubbedConfigMock, as: ConfigMock
|
||||
alias Pleroma.Web.MediaProxy
|
||||
alias Plug.Conn
|
||||
|
||||
setup do
|
||||
ConfigMock
|
||||
|> stub_with(Pleroma.Test.StaticConfig)
|
||||
|
||||
:ok
|
||||
end
|
||||
|
||||
describe "Media Proxy" do
|
||||
setup do
|
||||
clear_config([:media_proxy, :enabled], true)
|
||||
|
|
Loading…
Reference in a new issue