summaryrefslogtreecommitdiff
path: root/test/object
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-12-19 17:24:08 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-12-19 17:24:08 +0300
commitead2d18826cf446fd7da542c55b6601e9bfc001c (patch)
tree8fb08b5673235ae9844ca858a34b742d1b548a70 /test/object
parent455e072d27f28c39050b2dc24b346a8f2ef30f90 (diff)
parentd23a80e6911a85e2377ad2336a050e0206c74db9 (diff)
downloadpleroma-ead2d18826cf446fd7da542c55b6601e9bfc001c.tar.gz
pleroma-ead2d18826cf446fd7da542c55b6601e9bfc001c.zip
Merge remote-tracking branch 'remotes/origin/develop' into oauth-scopes-tweaks-and-tests
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")