Fix failing remote mentions test, valid TLDs

This commit is contained in:
Alex Gleason 2021-04-30 12:55:43 -05:00
parent 53760d2cda
commit a8fa00ef66
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -209,10 +209,10 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
end end
test "remote mentions" do test "remote mentions" do
mario = insert(:user, %{nickname: "mario@mushroom.kingdom", local: false}) mario = insert(:user, %{nickname: "mario@mushroom.world", local: false})
luigi = insert(:user, %{nickname: "luigi@mushroom.kingdom", 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") {result, _, []} = Utils.format_input(code, "text/markdown")
assert result == assert result ==