relay test: don't do preloading (since follow objects are activities, it's a mess)
authorWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 01:23:02 +0000 (01:23 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 01:23:02 +0000 (01:23 +0000)
test/tasks/relay_test.exs

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