Update functions in object fetcher for tesla and set up a proper mock for tests

This commit is contained in:
rinpatch 2019-04-17 14:21:39 +03:00
commit e7c3c36766
4 changed files with 14 additions and 12 deletions

View file

@ -360,7 +360,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
test "a peertube video" do
{:ok, object} =
ActivityPub.fetch_object_from_id(
Pleroma.Object.Fetcher.fetch_object_from_id(
"https://peertube.moe/videos/watch/df5f464b-be8d-46fb-ad81-2d4c2d1630e3"
)