commit: 67e888498c16c8bba434afe91cb3e0a83b9da8bb
parent 2b93351bd7b1377793256a14c0356e1dccf36d2e
Author: Mark Felder <feld@feld.me>
Date: Tue, 12 Jan 2021 16:42:43 -0600
Switch another test to Upload.base_url/0
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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