diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2019-08-02 18:16:04 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2019-08-02 18:16:04 +0300 |
commit | 9d4f34fbcb1a8e2eca424b3a3374c9f9af972574 (patch) | |
tree | c5943eb5d2652e08cc12d0b58a992376c425e66d /test/object | |
parent | d2da3d30f3349946500423bab53e0c1221ab7b9b (diff) | |
parent | 5ff8f07ca906d77a6ec1d5ba912a787f855364f9 (diff) | |
download | pleroma-9d4f34fbcb1a8e2eca424b3a3374c9f9af972574.tar.gz |
Merge branch 'develop' into feature/digest-email
Diffstat (limited to 'test/object')
-rw-r--r-- | test/object/fetcher_test.exs | 7 |
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( |