diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-10-16 21:59:21 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-10-16 21:59:21 +0300 |
commit | 10ff01acd95d42314b4eb923e5b7a7191356b73e (patch) | |
tree | dc56d5f466ddae5d4b85e4584f21aa9270c7ebfc /test/web/node_info_test.exs | |
parent | e3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff) | |
download | pleroma-10ff01acd95d42314b4eb923e5b7a7191356b73e.tar.gz pleroma-10ff01acd95d42314b4eb923e5b7a7191356b73e.zip |
[#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
Diffstat (limited to 'test/web/node_info_test.exs')
-rw-r--r-- | test/web/node_info_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |