X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fweb%2Fnode_info_test.exs;h=a3281b25b7235036797bffd055ebce706d41be2e;hb=c6fdfbc4f14b855d9cdf2d757ff2c43282aabe90;hp=f6147c286fdedcb79859c0f694b6912b0dc2ff51;hpb=c3a54cc34daa971153508f269b3e701ca6eb08cd;p=akkoma
diff --git a/test/web/node_info_test.exs b/test/web/node_info_test.exs
index f6147c286..a3281b25b 100644
--- a/test/web/node_info_test.exs
+++ b/test/web/node_info_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2019 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.NodeInfoTest do
@@ -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