From: Mark Felder Date: Tue, 12 Jan 2021 22:42:43 +0000 (-0600) Subject: Switch another test to Upload.base_url/0 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=67e888498c16c8bba434afe91cb3e0a83b9da8bb;p=akkoma Switch another test to Upload.base_url/0 --- diff --git a/test/pleroma/upload_test.exs b/test/pleroma/upload_test.exs index cea161d8c..8f84a0be1 100644 --- 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