forked from AkkomaGang/akkoma
Fix formatting
This commit is contained in:
parent
406d19331f
commit
087662d4fb
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue