relay test: don't do preloading (since follow objects are activities, it's a mess)

This commit is contained in:
William Pitcock 2019-03-23 01:23:02 +00:00
parent e430a71d37
commit aaec91b9a1

View File

@ -60,7 +60,8 @@ defmodule Mix.Tasks.Pleroma.RelayTest do
ActivityPub.fetch_activities([], %{ ActivityPub.fetch_activities([], %{
"type" => "Undo", "type" => "Undo",
"actor_id" => follower_id, "actor_id" => follower_id,
"limit" => 1 "limit" => 1,
"skip_preload" => true
}) })
assert undo_activity.data["type"] == "Undo" assert undo_activity.data["type"] == "Undo"