Fix formatting

This commit is contained in:
rinpatch 2019-03-26 17:18:18 +03:00
parent 406d19331f
commit 087662d4fb

View file

@ -958,7 +958,11 @@ test "with credentials", %{conn: conn, user: current_user} 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 @@ test "with credentials", %{conn: conn, user: current_user} 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