From: Mark Felder Date: Fri, 5 Mar 2021 19:21:22 +0000 (-0600) Subject: Make tests use it X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=eaaa20e0f1ac56fee0a8a0eb6a21bc7bf11dbe48;p=akkoma Make tests use it --- diff --git a/test/pleroma/web/media_proxy_test.exs b/test/pleroma/web/media_proxy_test.exs index 7411d0a7a..b5ee6328d 100644 --- a/test/pleroma/web/media_proxy_test.exs +++ b/test/pleroma/web/media_proxy_test.exs @@ -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