X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fnode_info_test.exs;h=a3281b25b7235036797bffd055ebce706d41be2e;hb=791bcfd90f41da9d77ab5a5ad6eec22ae8050b8a;hp=e15a0bfff0c957f8203558b7a29d7b835a07c8e5;hpb=02bbcd6180702828b08a37ccf214cc3b7d5ebd24;p=akkoma diff --git a/test/web/node_info_test.exs b/test/web/node_info_test.exs index e15a0bfff..a3281b25b 100644 --- a/test/web/node_info_test.exs +++ b/test/web/node_info_test.exs @@ -24,8 +24,8 @@ defmodule Pleroma.Web.NodeInfoTest do end test "nodeinfo shows staff accounts", %{conn: conn} do - moderator = insert(:user, %{local: true, info: %{is_moderator: true}}) - admin = insert(:user, %{local: true, info: %{is_admin: true}}) + moderator = insert(:user, local: true, is_moderator: true) + admin = insert(:user, local: true, is_admin: true) conn = conn