Switch another test to Upload.base_url/0

This commit is contained in:
Mark Felder 2021-01-12 16:42:43 -06:00
parent 2b93351bd7
commit 67e888498c

View file

@ -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