diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-28 18:49:03 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-28 18:49:03 +0300 |
commit | be9d18461a5ed6bd835e2eba8d3b54ba61fc51fb (patch) | |
tree | 0b5b199feab5cef526d365030213170c99fb9f0f /test/tasks/user_test.exs | |
parent | 4e81b4b190161ebb0c496c682fa8e1e0c38a3903 (diff) | |
download | pleroma-be9d18461a5ed6bd835e2eba8d3b54ba61fc51fb.tar.gz |
FollowingRelationship storage & performance optimizations (state turned `ecto_enum`-driven integer, reorganized indices etc.).
Diffstat (limited to 'test/tasks/user_test.exs')
-rw-r--r-- | test/tasks/user_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tasks/user_test.exs b/test/tasks/user_test.exs index b45f37263..8df835b56 100644 --- a/test/tasks/user_test.exs +++ b/test/tasks/user_test.exs @@ -140,7 +140,7 @@ defmodule Mix.Tasks.Pleroma.UserTest do test "user is unsubscribed" do followed = insert(:user) user = insert(:user) - User.follow(user, followed, "accept") + User.follow(user, followed, :follow_accept) Mix.Tasks.Pleroma.User.run(["unsubscribe", user.nickname]) |