projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma]
/
test
/
object
/
fetcher_test.exs
diff --git
a/test/object/fetcher_test.exs
b/test/object/fetcher_test.exs
index 482252cffa6fa10ca7346df8e7fbc77917b331a1..0ca87f0358e8fed2c7ea36273f76acf88deffbcd 100644
(file)
--- a/
test/object/fetcher_test.exs
+++ b/
test/object/fetcher_test.exs
@@
-110,6
+110,13
@@
defmodule Pleroma.Object.FetcherTest do
assert object
end
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(
test "all objects with fake directions are rejected by the object fetcher" do
assert {:error, _} =
Fetcher.fetch_and_contain_remote_object_from_id(