summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2023-06-11 16:45:31 +0400
committerLain Soykaf <lain@lain.com>2023-06-11 16:45:31 +0400
commit6611c6ce4ef3fe76bc9a5eb53677d3b6cde22793 (patch)
tree7c68de33feb4975988b78b5e62881c22817addf3 /test
parent55dd8ef1c799bcfee803e68028af733a697711d1 (diff)
downloadpleroma-6611c6ce4ef3fe76bc9a5eb53677d3b6cde22793.tar.gz
pleroma-6611c6ce4ef3fe76bc9a5eb53677d3b6cde22793.zip
B ForceMentionsInContent: Fix test, refactor.
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs b/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs
index 5ebd972a6..811ef105c 100644
--- a/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs
+++ b/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs
@@ -282,7 +282,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.ForceMentionsInContentTest do
{:ok, post} = CommonAPI.post(rogerick, %{status: "eugh"})
inline_mentions = [
- "<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"#{rogerick.id}\" href=\"#{rogerick.uri}\" rel=\"ugc\">@<span>rogerick</span></a></span>",
+ "<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"#{rogerick.id}\" href=\"#{rogerick.ap_id}\" rel=\"ugc\">@<span>rogerick</span></a></span>",
"<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"#{greg.id}\" href=\"#{greg.uri}\" rel=\"ugc\">@<span>greg</span></a></span>"
]