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 @@ test "relay is unfollowed" 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"