summaryrefslogtreecommitdiff
path: root/test/object
diff options
context:
space:
mode:
authorSergey Suprunenko <suprunenko.s@gmail.com>2019-07-24 19:28:21 +0000
committerkaniini <ariadne@dereferenced.org>2019-07-24 19:28:21 +0000
commitb20020da160404f6f668eec2a2a42aaa2b6a09b2 (patch)
tree453b14e77c37a00da1ed35eb6dd781cb46055d70 /test/object
parentacd20914ec5a2cedfcd6a7405a22b6453d951164 (diff)
downloadpleroma-b20020da160404f6f668eec2a2a42aaa2b6a09b2.tar.gz
pleroma-b20020da160404f6f668eec2a2a42aaa2b6a09b2.zip
Show the url advertised in the Activity in the Status JSON response
Diffstat (limited to 'test/object')
-rw-r--r--test/object/fetcher_test.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/object/fetcher_test.exs b/test/object/fetcher_test.exs
index 482252cff..0ca87f035 100644
--- a/test/object/fetcher_test.exs
+++ b/test/object/fetcher_test.exs
@@ -110,6 +110,13 @@ defmodule Pleroma.Object.FetcherTest do
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")
+
+ assert object
+ end
+
test "all objects with fake directions are rejected by the object fetcher" do
assert {:error, _} =
Fetcher.fetch_and_contain_remote_object_from_id(