commit: a8fa00ef666f574aec8048626aed78a7d62e6915
parent 53760d2cda9b9f241355365b3fff9852bcb1a8a2
Author: Alex Gleason <alex@alexgleason.me>
Date: Fri, 30 Apr 2021 12:55:43 -0500
Fix failing remote mentions test, valid TLDs
Diffstat:
1 file 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
@@ -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 ==