summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_test.exs
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-08-26 21:06:15 +0000
committerkaniini <nenolod@gmail.com>2018-08-26 21:06:15 +0000
commit0f5bff8c66fa2b67633fe05de8aaa1985f4d98f8 (patch)
tree45a693814a7f1f7bd2d6108732f2b75086f1fa0a /test/web/activity_pub/activity_pub_test.exs
parent30261772063a30ca0ef299f441cfed4630ffb630 (diff)
parent3448b434f54e8b4749524e3ccd876359a6501845 (diff)
downloadpleroma-0f5bff8c66fa2b67633fe05de8aaa1985f4d98f8.tar.gz
pleroma-0f5bff8c66fa2b67633fe05de8aaa1985f4d98f8.zip
Merge branch 'develop' into 'feature/relay'
# Conflicts: # lib/pleroma/web/activity_pub/utils.ex
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index 90c0bd768..1cf7d6bbc 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -506,6 +506,15 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
end
end
+ test "it can fetch peertube videos" do
+ {:ok, object} =
+ ActivityPub.fetch_object_from_id(
+ "https://peertube.moe/videos/watch/df5f464b-be8d-46fb-ad81-2d4c2d1630e3"
+ )
+
+ assert object
+ end
+
def data_uri do
File.read!("test/fixtures/avatar_data_uri")
end