User: Fix use of source_data in profile_url/1

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-03-29 22:30:50 +02:00
commit b30fb1f3bb
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 6 additions and 3 deletions

View file

@ -178,7 +178,9 @@ 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/channels/compositions"
assert represented.url ==
"https://channels.tests.funkwhale.audio/federation/actors/compositions"
end
test "Represent a deactivated user for an admin" do