projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get the nodeinfo address from the well-known
[akkoma]
/
test
/
upload_test.exs
diff --git
a/test/upload_test.exs
b/test/upload_test.exs
index 95b16078bb0458de4c4692e79e33eb985d1b7fff..6721fe82e61646563e7046f4abcef522e982122c 100644
(file)
--- a/
test/upload_test.exs
+++ b/
test/upload_test.exs
@@
-250,12
+250,8
@@
defmodule Pleroma.UploadTest do
end
describe "Setting a custom base_url for uploaded media" do
end
describe "Setting a custom base_url for uploaded media" do
-
setup
do
+
clear_config([Pleroma.Upload, :base_url])
do
Pleroma.Config.put([Pleroma.Upload, :base_url], "https://cache.pleroma.social")
Pleroma.Config.put([Pleroma.Upload, :base_url], "https://cache.pleroma.social")
-
- on_exit(fn ->
- Pleroma.Config.put([Pleroma.Upload, :base_url], nil)
- end)
end
test "returns a media url with configured base_url" do
end
test "returns a media url with configured base_url" do