Provide known-good user.uri, remove User.profile_url/1

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-03-30 02:01:09 +02:00
commit 185520d1b4
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
7 changed files with 19 additions and 13 deletions

View file

@ -178,9 +178,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
assert represented = AccountView.render("show.json", %{user: user})
assert represented.acct == "compositions@channels.tests.funkwhale.audio"
# assert represented.url == "https://channels.tests.funkwhale.audio/channels/compositions"
assert represented.url ==
"https://channels.tests.funkwhale.audio/federation/actors/compositions"
assert represented.url == "https://channels.tests.funkwhale.audio/channels/compositions"
end
test "Represent a deactivated user for an admin" do