Provide known-good user.uri, remove User.profile_url/1
This commit is contained in:
parent
b30fb1f3bb
commit
185520d1b4
7 changed files with 19 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue