summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-02-06 22:34:44 +0000
committerMark Felder <feld@FreeBSD.org>2019-02-06 22:34:44 +0000
commit74518d0b607695a80e25f17de8369f47c7652b17 (patch)
tree9d8f8fd5b1d64b42bda21e8c7c3786a48410c179 /test/web/activity_pub
parent1220a171466ff613978c39eb977902ee9492b187 (diff)
downloadpleroma-74518d0b607695a80e25f17de8369f47c7652b17.tar.gz
pleroma-74518d0b607695a80e25f17de8369f47c7652b17.zip
hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
This was a dirty regex replace which worked on my server
Diffstat (limited to 'test/web/activity_pub')
-rw-r--r--test/web/activity_pub/activity_pub_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs
index 0a0103793..570bee6b3 100644
--- a/test/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/web/activity_pub/activity_pub_controller_test.exs
@@ -441,8 +441,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
assert result["first"]["orderedItems"] == [user_two.ap_id]
end
- test "it returns returns empty if the user has 'hide_followings' set", %{conn: conn} do
- user = insert(:user, %{info: %{hide_followings: true}})
+ test "it returns returns empty if the user has 'hide_follows' set", %{conn: conn} do
+ user = insert(:user, %{info: %{hide_follows: true}})
user_two = insert(:user)
User.follow(user, user_two)