diff options
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(  | 
