Fix formatting
This commit is contained in:
parent
406d19331f
commit
087662d4fb
1 changed files with 10 additions and 2 deletions
|
@ -958,7 +958,11 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
||||||
activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
|
activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
|
||||||
|
|
||||||
assert json_response(response, 200) ==
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -992,7 +996,11 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
||||||
activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
|
activity_user = Repo.get_by(User, ap_id: note_activity.data["actor"])
|
||||||
|
|
||||||
assert json_response(response, 200) ==
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue