diff options
author | lain <lain@soykaf.club> | 2018-11-18 18:53:50 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-11-18 18:53:50 +0100 |
commit | fc3bcf335e2c5ba1f8b1b25c1a4869cefff2a431 (patch) | |
tree | a7ead6d1f0fe29819981ad7bba5eb73621936869 /test | |
parent | d5af41b577c773ab6c3918d395ff4973a017a797 (diff) | |
download | pleroma-fc3bcf335e2c5ba1f8b1b25c1a4869cefff2a431.tar.gz pleroma-fc3bcf335e2c5ba1f8b1b25c1a4869cefff2a431.zip |
Fix following locked users.
Diffstat (limited to 'test')
-rw-r--r-- | test/user_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index 3d330b963..f37f4521d 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -56,8 +56,8 @@ defmodule Pleroma.UserTest do end test "local users do not automatically follow local locked accounts" do - follower = insert(:user, info: %{"locked" => true}) - followed = insert(:user, info: %{"locked" => true}) + follower = insert(:user, info: %{locked: true}) + followed = insert(:user, info: %{locked: true}) {:ok, follower} = User.maybe_direct_follow(follower, followed) |