summaryrefslogtreecommitdiff
path: root/test/web/ostatus
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-06-30 15:58:50 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-06-30 15:58:50 +0300
commit2b9d914089755297f6ac24ffbb81934cf3c70cdd (patch)
tree332292d971662311aa76dd670994a14a6a6faddd /test/web/ostatus
parent5b7b1040b38d262b1815276f86036b50847851c7 (diff)
downloadpleroma-2b9d914089755297f6ac24ffbb81934cf3c70cdd.tar.gz
pleroma-2b9d914089755297f6ac24ffbb81934cf3c70cdd.zip
[#161] Refactoring, documentation.
Diffstat (limited to 'test/web/ostatus')
-rw-r--r--test/web/ostatus/ostatus_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs
index 12627356c..acce33008 100644
--- a/test/web/ostatus/ostatus_test.exs
+++ b/test/web/ostatus/ostatus_test.exs
@@ -298,7 +298,7 @@ defmodule Pleroma.Web.OStatusTest do
incoming = File.read!("test/fixtures/incoming_note_activity_answer.xml")
with_mock Pleroma.Web.Federator,
- max_replies_depth: fn -> 0 end do
+ allowed_incoming_reply_depth?: fn _ -> false end do
{:ok, [activity]} = OStatus.handle_incoming(incoming)
object = Object.normalize(activity.data["object"], false)