summaryrefslogtreecommitdiff
path: root/test/object
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-17 15:31:10 +0000
committerrinpatch <rinpatch@sdf.org>2019-12-17 15:31:10 +0000
commitd23a80e6911a85e2377ad2336a050e0206c74db9 (patch)
treeb8e5a62f79d6e78f7ccc0e63ddacafb21868a83b /test/object
parent086250ac5be17af26be4ad47d55a447ee0dd5101 (diff)
parentd2f1c4f658a8c995716aee3876cb46a0f48f99cb (diff)
downloadpleroma-d23a80e6911a85e2377ad2336a050e0206c74db9.tar.gz
pleroma-d23a80e6911a85e2377ad2336a050e0206c74db9.zip
Merge branch 'feature/add-event-support' into 'develop'
Add ActivityPub Object Event type support See merge request pleroma/pleroma!2075
Diffstat (limited to 'test/object')
-rw-r--r--test/object/fetcher_test.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/object/fetcher_test.exs b/test/object/fetcher_test.exs
index 9ae6b015d..2aad7a588 100644
--- a/test/object/fetcher_test.exs
+++ b/test/object/fetcher_test.exs
@@ -77,6 +77,15 @@ defmodule Pleroma.Object.FetcherTest do
assert object
end
+ test "it can fetch Mobilizon events" do
+ {:ok, object} =
+ Fetcher.fetch_object_from_id(
+ "https://mobilizon.org/events/252d5816-00a3-4a89-a66f-15bf65c33e39"
+ )
+
+ assert object
+ end
+
test "it can fetch wedistribute articles" do
{:ok, object} =
Fetcher.fetch_object_from_id("https://wedistribute.org/wp-json/pterotype/v1/object/85810")