forked from AkkomaGang/akkoma
Fix failing remote mentions test, valid TLDs
This commit is contained in:
parent
53760d2cda
commit
a8fa00ef66
1 changed files with 3 additions and 3 deletions
|
@ -209,10 +209,10 @@ test "local mentions" 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 ==
|
||||||
|
|
Loading…
Reference in a new issue