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