summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/scheduled_activity_view_test.exs
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2019-04-03 18:55:04 +0300
committereugenijm <eugenijm@protonmail.com>2019-04-06 23:56:29 +0300
commit2056efa714460faaf25f6bc03ab643f5a2e8cd3d (patch)
tree4fd0c8071e6f0da03ed59ca90344de0b710ba7c5 /test/web/mastodon_api/scheduled_activity_view_test.exs
parentfc92a0fd8d5be0352f4791b79bda04960f36f707 (diff)
downloadpleroma-2056efa714460faaf25f6bc03ab643f5a2e8cd3d.tar.gz
pleroma-2056efa714460faaf25f6bc03ab643f5a2e8cd3d.zip
Add scheduler for sending scheduled activities to the queue
Diffstat (limited to 'test/web/mastodon_api/scheduled_activity_view_test.exs')
-rw-r--r--test/web/mastodon_api/scheduled_activity_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/scheduled_activity_view_test.exs b/test/web/mastodon_api/scheduled_activity_view_test.exs
index 26747a0c0..ecbb855d4 100644
--- a/test/web/mastodon_api/scheduled_activity_view_test.exs
+++ b/test/web/mastodon_api/scheduled_activity_view_test.exs
@@ -52,7 +52,7 @@ defmodule Pleroma.Web.MastodonAPI.ScheduledActivityViewTest do
|> Enum.map(&StatusView.render("attachment.json", %{attachment: &1})),
params: %{
in_reply_to_id: to_string(activity.id),
- media_ids: [to_string(upload.id)],
+ media_ids: [upload.id],
poll: nil,
scheduled_at: nil,
sensitive: true,