projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ActivityPub Object Event type support
[akkoma]
/
test
/
object
/
fetcher_test.exs
diff --git
a/test/object/fetcher_test.exs
b/test/object/fetcher_test.exs
index 9ae6b015d6f74ef3e4efa57a8ccd18034408dbed..2aad7a5883b3811726d05e5f666c547019030171 100644
(file)
--- a/
test/object/fetcher_test.exs
+++ b/
test/object/fetcher_test.exs
@@
-77,6
+77,15
@@
defmodule Pleroma.Object.FetcherTest do
assert object
end
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")
test "it can fetch wedistribute articles" do
{:ok, object} =
Fetcher.fetch_object_from_id("https://wedistribute.org/wp-json/pterotype/v1/object/85810")