Fix failing remote mentions test, valid TLDs
authorAlex Gleason <alex@alexgleason.me>
Fri, 30 Apr 2021 17:55:43 +0000 (12:55 -0500)
committerAlex Gleason <alex@alexgleason.me>
Fri, 30 Apr 2021 17:55:43 +0000 (12:55 -0500)
test/pleroma/web/common_api/utils_test.exs

index 28b05ed911b50e67a5ad5a8671c0b0e835f537c6..8c79a9a83343d315b896d25a6ea97d066dda11a0 100644 (file)
@@ -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 ==