summaryrefslogtreecommitdiff
path: root/test/web/ostatus
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-01-28 15:25:06 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-01-28 15:25:06 +0300
commit1d2f41642cfec5710055bcf8409778bb362beecb (patch)
tree18ee9598a4dfcde0751c1f53e756e3e8a75331cc /test/web/ostatus
parent9560abea102b8cd4927c9350bbd0a1a2f1800ea6 (diff)
downloadpleroma-1d2f41642cfec5710055bcf8409778bb362beecb.tar.gz
pleroma-1d2f41642cfec5710055bcf8409778bb362beecb.zip
[#534] Various tweaks. Tests for Instances and Instance.
Diffstat (limited to 'test/web/ostatus')
-rw-r--r--test/web/ostatus/ostatus_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/ostatus_controller_test.exs b/test/web/ostatus/ostatus_controller_test.exs
index ca447aa5d..ad9bc418a 100644
--- a/test/web/ostatus/ostatus_controller_test.exs
+++ b/test/web/ostatus/ostatus_controller_test.exs
@@ -62,7 +62,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
test "it clears `unreachable` federation status of the sender", %{conn: conn} do
sender_url = "https://pleroma.soykaf.com"
- Instances.set_unreachable(sender_url, Instances.reachability_datetime_threshold())
+ Instances.set_consistently_unreachable(sender_url)
refute Instances.reachable?(sender_url)
user = insert(:user)