mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
Switch another test to Upload.base_url/0
This commit is contained in:
parent
2b93351bd7
commit
67e888498c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue