Fix formatting
authorrinpatch <rinpatch@sdf.org>
Tue, 26 Mar 2019 14:18:18 +0000 (17:18 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 26 Mar 2019 14:18:18 +0000 (17:18 +0300)
test/web/twitter_api/twitter_api_controller_test.exs

index ac481ca147dc9cc7409fd5b7e9a483172b7aa854..9e008b5a07d103ecc19bc96ce739f3c7c0089dd7 100644 (file)
@@ -958,7 +958,11 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
       activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
 
       assert json_response(response, 200) ==
-               ActivityView.render("activity.json", %{user: activity_user, for: current_user, activity: activity})
+               ActivityView.render("activity.json", %{
+                 user: activity_user,
+                 for: current_user,
+                 activity: activity
+               })
     end
   end
 
@@ -992,7 +996,11 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
       activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
 
       assert json_response(response, 200) ==
-               ActivityView.render("activity.json", %{user: activity_user, for: current_user, activity: activity})
+               ActivityView.render("activity.json", %{
+                 user: activity_user,
+                 for: current_user,
+                 activity: activity
+               })
     end
   end