diff options
author | feld <feld@feld.me> | 2024-08-19 16:49:08 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2024-08-19 16:49:08 +0000 |
commit | 08a444f6c3591fec60d11638587c60c5dc417a48 (patch) | |
tree | b90bb7bfd8986c1d0a4086f3b1f63436caa3c758 /test | |
parent | 12d682c62f45917182ca22b4ce8c7a98d8a9b4dd (diff) | |
parent | 1b8141b506df1cc78e01f24881bed6257c9e5931 (diff) | |
download | pleroma-08a444f6c3591fec60d11638587c60c5dc417a48.tar.gz pleroma-08a444f6c3591fec60d11638587c60c5dc417a48.zip |
Merge branch 'reachability' into 'develop'
Fix reachability based on results of publishing attempts
See merge request pleroma/pleroma!4231
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/activity_pub/publisher_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs index 3acbac396..99ed42877 100644 --- a/test/pleroma/web/activity_pub/publisher_test.exs +++ b/test/pleroma/web/activity_pub/publisher_test.exs @@ -180,7 +180,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do Publisher.prepare_one(%{ inbox: inbox, activity_id: activity.id, - unreachable_since: NaiveDateTime.utc_now() + unreachable_since: NaiveDateTime.utc_now() |> NaiveDateTime.to_string() }) |> Publisher.publish_one() @@ -269,7 +269,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do Publisher.prepare_one(%{ inbox: inbox, activity_id: activity.id, - unreachable_since: NaiveDateTime.utc_now() + unreachable_since: NaiveDateTime.utc_now() |> NaiveDateTime.to_string() }) |> Publisher.publish_one() end) =~ "connrefused" |