Pass user instead of their ap_id to User.block
[akkoma] / test / activity_test.exs
index 366a2f9572290d139e81cd2563b4d1e42ee4f1ec..55849c5221b5c00a84afd53f572bacd72696a64f 100644 (file)
@@ -18,7 +18,9 @@ defmodule Pleroma.ActivityTest do
 
   test "returns the activity that created an object" do
     activity = insert(:note_activity)
-    found_activity = Pleroma.Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
+
+    found_activity =
+      Pleroma.Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
 
     assert activity == found_activity
   end