summaryrefslogtreecommitdiff
path: root/test/tasks/user_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-04-11 19:46:04 +0000
committerrinpatch <rinpatch@sdf.org>2020-04-11 19:46:04 +0000
commit5e365448f3fed98da0395ad69c9325795a85a12d (patch)
treeca36ada03040bc1afb5a83db2dad481ff434f257 /test/tasks/user_test.exs
parentc682563b92ce0b1a44523b67f5739707dd203de0 (diff)
parentea9c57b26ed463622e4489736fcddb8fca1b3341 (diff)
downloadpleroma-5e365448f3fed98da0395ad69c9325795a85a12d.tar.gz
pleroma-5e365448f3fed98da0395ad69c9325795a85a12d.zip
Merge branch 'following-relationships-optimizations' into 'develop'
FollowingRelationship storage & performance optimizations See merge request pleroma/pleroma!2332
Diffstat (limited to 'test/tasks/user_test.exs')
-rw-r--r--test/tasks/user_test.exs2
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])