projects
/
anni
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move to 2.5.5
[anni]
/
test
/
pleroma
/
web
/
mastodon_api
/
views
/
scheduled_activity_view_test.exs
diff --git
a/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
b/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
old mode 100644
(file)
new mode 100755
(executable)
index
e5e510d
..
07a65a3
--- a/
test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
+++ b/
test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
@@
-48,7
+48,7
@@
defmodule Pleroma.Web.MastodonAPI.ScheduledActivityViewTest do
id: to_string(scheduled_activity.id),
media_attachments:
%{media_ids: [upload.id]}
id: to_string(scheduled_activity.id),
media_attachments:
%{media_ids: [upload.id]}
- |> Utils.attachments_from_ids()
+ |> Utils.attachments_from_ids(
user
)
|> Enum.map(&StatusView.render("attachment.json", %{attachment: &1})),
params: %{
in_reply_to_id: to_string(activity.id),
|> Enum.map(&StatusView.render("attachment.json", %{attachment: &1})),
params: %{
in_reply_to_id: to_string(activity.id),