projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b93351
)
Switch another test to Upload.base_url/0
author
Mark Felder
<feld@feld.me>
Tue, 12 Jan 2021 22:42:43 +0000
(16:42 -0600)
committer
Mark Felder
<feld@feld.me>
Tue, 12 Jan 2021 22:42:43 +0000
(16:42 -0600)
test/pleroma/upload_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/upload_test.exs
b/test/pleroma/upload_test.exs
index cea161d8cf6424b8e10edb1b6c86eadea832a89c..8f84a0be173187f3e55c82ef7856dbbbd4869629 100644
(file)
--- a/
test/pleroma/upload_test.exs
+++ b/
test/pleroma/upload_test.exs
@@
-133,7
+133,7
@@
defmodule Pleroma.UploadTest do
assert %{"url" => [%{"href" => url}]} = data
- assert String.starts_with?(url, Pleroma.
Web.base_url() <> "/media/"
)
+ assert String.starts_with?(url, Pleroma.
Upload.base_url()
)
end
test "copies the file to the configured folder with deduping" do