Commit a2bceaf6 authored by kaniini's avatar kaniini
Browse files

tests: twitter api: add test proving that peertube videos are correctly handled

parent 34a4ed22
Pipeline #5653 passed with stages
in 3 minutes and 25 seconds
......@@ -265,4 +265,18 @@ test "a delete activity" do
assert result == expected
test "a peertube video" do
{:ok, object} =
%Activity{} = activity = Activity.get_create_activity_by_object_ap_id(["id"])
result = ActivityView.render("activity.json", activity: activity)
assert length(result["attachments"]) == 1
assert result["summary"] == "Friday Night"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment