summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_test.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-07-12 19:52:17 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-07-12 23:08:28 +0200
commit24b5a75d096387ac63b30a09c1a6d8a986eceb61 (patch)
tree63649c130087073e3a1b8c2f4dddff38255801a5 /test/web/activity_pub/activity_pub_test.exs
parentd93789dfde3c44c76a56732088a897ddddfe9716 (diff)
downloadpleroma-24b5a75d096387ac63b30a09c1a6d8a986eceb61.tar.gz
pleroma-24b5a75d096387ac63b30a09c1a6d8a986eceb61.zip
Add test for Plume Articles
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index bc33b4dfc..90c0bd768 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -476,6 +476,15 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
end
end
+ test "it can fetch plume articles" do
+ {:ok, object} =
+ ActivityPub.fetch_object_from_id(
+ "https://baptiste.gelez.xyz/~/PlumeDevelopment/this-month-in-plume-june-2018/"
+ )
+
+ assert object
+ end
+
describe "update" do
test "it creates an update activity with the new user data" do
user = insert(:user)