Make tests use it

This commit is contained in:
Mark Felder 2021-03-05 13:21:22 -06:00
parent e97b34f65d
commit eaaa20e0f1
1 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,7 @@ defmodule Pleroma.Web.MediaProxyTest do
alias Pleroma.Web.MediaProxy
defp decode_result(encoded) do
[_, "proxy", sig, base64 | _] = URI.parse(encoded).path |> String.split("/")
{:ok, decoded} = MediaProxy.decode_url(sig, base64)
{:ok, decoded} = MediaProxy.decode_url(encoded)
decoded
end