summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-03-30 02:01:09 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-03-31 23:55:29 +0200
commit185520d1b4d3fdf8ecde7814faec92bbb531ce59 (patch)
tree3f5fa73988b1111fd66bc6b50a0f66ce2e2f3daa /test
parentb30fb1f3bbf8fb8e49cc5276225dc09771c79477 (diff)
downloadpleroma-185520d1b4d3fdf8ecde7814faec92bbb531ce59.tar.gz
pleroma-185520d1b4d3fdf8ecde7814faec92bbb531ce59.zip
Provide known-good user.uri, remove User.profile_url/1
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index ef3f3eff1..8d00e3c21 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -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