summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/utils_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-16 21:59:21 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-16 21:59:21 +0300
commit10ff01acd95d42314b4eb923e5b7a7191356b73e (patch)
treedc56d5f466ddae5d4b85e4584f21aa9270c7ebfc /test/web/activity_pub/utils_test.exs
parente3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff)
downloadpleroma-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/activity_pub/utils_test.exs')
-rw-r--r--test/web/activity_pub/utils_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/utils_test.exs b/test/web/activity_pub/utils_test.exs
index c57ea7eb9..c1b000fac 100644
--- a/test/web/activity_pub/utils_test.exs
+++ b/test/web/activity_pub/utils_test.exs
@@ -297,7 +297,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
describe "update_follow_state_for_all/2" do
test "updates the state of all Follow activities with the same actor and object" do
- user = insert(:user, info: %{locked: true})
+ user = insert(:user, locked: true)
follower = insert(:user)
{:ok, follow_activity} = ActivityPub.follow(follower, user)
@@ -321,7 +321,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
describe "update_follow_state/2" do
test "updates the state of the given follow activity" do
- user = insert(:user, info: %{locked: true})
+ user = insert(:user, locked: true)
follower = insert(:user)
{:ok, follow_activity} = ActivityPub.follow(follower, user)