Switch another test to Upload.base_url/0
This commit is contained in:
parent
2b93351bd7
commit
67e888498c
|
@ -133,7 +133,7 @@ test "returns a media url" 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
|
||||
|
|
Loading…
Reference in New Issue