summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
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/web/activity_pub
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/web/activity_pub')
-rw-r--r--test/web/activity_pub/transmogrifier_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs
index 1299683fd..2332029e5 100644
--- a/test/web/activity_pub/transmogrifier_test.exs
+++ b/test/web/activity_pub/transmogrifier_test.exs
@@ -1618,7 +1618,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
})
user_two = insert(:user)
- Pleroma.FollowingRelationship.follow(user_two, user, "accept")
+ Pleroma.FollowingRelationship.follow(user_two, user, :follow_accept)
{:ok, activity} = CommonAPI.post(user, %{"status" => "test"})
{:ok, unrelated_activity} = CommonAPI.post(user_two, %{"status" => "test"})