X-Git-Url: https://git.logografos.com/?a=blobdiff_plain;f=test%2Fpleroma%2Fweb%2Fmastodon_api%2Fviews%2Fscheduled_activity_view_test.exs;h=07a65a3bc1bd09ece6afa2557a719b7550dfae2a;hb=a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e;hp=e5e510d33b88244b9b088ed93b98bfb2c411dd8b;hpb=40bfe7919694619570c3e2192dff895c78ce44b9;p=anni 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 new mode 100755 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]} - |> 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),