summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/account_controller_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/mastodon_api/controllers/account_controller_test.exs
parenteea879eb362d3310d4fe047fb6412b69dd8711fe (diff)
downloadpleroma-9968b7efedc64d0239db5578de7fc66ff4ce894d.tar.gz
pleroma-9968b7efedc64d0239db5578de7fc66ff4ce894d.zip
Change user.locked field to user.is_locked
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r--test/web/mastodon_api/controllers/account_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs
index f7f1369e4..0b803b7ab 100644
--- a/test/web/mastodon_api/controllers/account_controller_test.exs
+++ b/test/web/mastodon_api/controllers/account_controller_test.exs
@@ -706,7 +706,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
end
test "cancelling follow request", %{conn: conn} do
- %{id: other_user_id} = insert(:user, %{locked: true})
+ %{id: other_user_id} = insert(:user, %{is_locked: true})
assert %{"id" => ^other_user_id, "following" => false, "requested" => true} =
conn