summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/utils_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-13 09:31:13 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-13 09:31:13 -0500
commit9968b7efedc64d0239db5578de7fc66ff4ce894d (patch)
tree3ce12279bae5c871f957c218daf7e897cc1bbdb8 /test/web/activity_pub/utils_test.exs
parenteea879eb362d3310d4fe047fb6412b69dd8711fe (diff)
downloadpleroma-9968b7efedc64d0239db5578de7fc66ff4ce894d.tar.gz
pleroma-9968b7efedc64d0239db5578de7fc66ff4ce894d.zip
Change user.locked field to user.is_locked
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 d50213545..be9cd7d13 100644
--- a/test/web/activity_pub/utils_test.exs
+++ b/test/web/activity_pub/utils_test.exs
@@ -193,7 +193,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, locked: true)
+ user = insert(:user, is_locked: true)
follower = insert(:user)
{:ok, _, _, follow_activity} = CommonAPI.follow(follower, user)
@@ -217,7 +217,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, locked: true)
+ user = insert(:user, is_locked: true)
follower = insert(:user)
{:ok, _, _, follow_activity} = CommonAPI.follow(follower, user)