Add test for Plume Articles

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-07-12 19:52:17 +02:00
commit 24b5a75d09
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
4 changed files with 27 additions and 0 deletions

View file

@ -476,6 +476,15 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
end
end
test "it can fetch plume articles" do
{:ok, object} =
ActivityPub.fetch_object_from_id(
"https://baptiste.gelez.xyz/~/PlumeDevelopment/this-month-in-plume-june-2018/"
)
assert object
end
describe "update" do
test "it creates an update activity with the new user data" do
user = insert(:user)