projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e97b34f
)
Make tests use it
author
Mark Felder
<feld@feld.me>
Fri, 5 Mar 2021 19:21:22 +0000
(13:21 -0600)
committer
Mark Felder
<feld@feld.me>
Fri, 5 Mar 2021 19:21:22 +0000
(13:21 -0600)
test/pleroma/web/media_proxy_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/web/media_proxy_test.exs
b/test/pleroma/web/media_proxy_test.exs
index 7411d0a7a6bd0f708b3656f49f8aef065e7c3490..b5ee6328d7aaa25e7fc746ed87d9642f8ae70aff 100644
(file)
--- 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