summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-04-30 12:55:43 -0500
committerAlex Gleason <alex@alexgleason.me>2021-04-30 12:55:43 -0500
commita8fa00ef666f574aec8048626aed78a7d62e6915 (patch)
tree407596c06f010c70f612e60e9538d3a8f1e9e0be
parent53760d2cda9b9f241355365b3fff9852bcb1a8a2 (diff)
Fix failing remote mentions test, valid TLDs
-rw-r--r--test/pleroma/web/common_api/utils_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pleroma/web/common_api/utils_test.exs b/test/pleroma/web/common_api/utils_test.exs
index 28b05ed91..8c79a9a83 100644
--- a/test/pleroma/web/common_api/utils_test.exs
+++ b/test/pleroma/web/common_api/utils_test.exs
@@ -209,10 +209,10 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
end
test "remote mentions" do
- mario = insert(:user, %{nickname: "mario@mushroom.kingdom", local: false})
- luigi = insert(:user, %{nickname: "luigi@mushroom.kingdom", local: false})
+ mario = insert(:user, %{nickname: "mario@mushroom.world", local: false})
+ luigi = insert(:user, %{nickname: "luigi@mushroom.world", local: false})
- code = "@mario@mushroom.kingdom @luigi@mushroom.kingdom yo what's up?"
+ code = "@mario@mushroom.world @luigi@mushroom.world yo what's up?"
{result, _, []} = Utils.format_input(code, "text/markdown")
assert result ==