aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
diff options
context:
space:
mode:
authordcc <dcc@logografos.com>2023-09-04 02:54:35 -0700
committerdcc <dcc@logografos.com>2023-09-04 02:54:35 -0700
commita127041c8b3e31c9fa487dd5ca4faa29a0a59e6e (patch)
tree563a301e6dfc8e419a787542f233976a5b761160 /test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs
parent40bfe7919694619570c3e2192dff895c78ce44b9 (diff)
downloadanni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.tar.gz
anni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.tar.bz2
anni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.zip
move to 2.5.5
Diffstat (limited to 'test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs')
-rwxr-xr-x[-rw-r--r--]test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs2
1 files changed, 1 insertions, 1 deletions
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
index e5e510d..07a65a3 100644..100755
--- 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]}
- |> 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),