X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fnode_info_test.exs;h=a3281b25b7235036797bffd055ebce706d41be2e;hb=b05fbc890e17786c0332717a5b4b583c9656e608;hp=f6147c286fdedcb79859c0f694b6912b0dc2ff51;hpb=560dbad538ba978d00116b1b037502ba2185cb5e;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