summaryrefslogtreecommitdiff
path: root/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2021-01-23 00:37:49 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2021-01-27 18:20:06 +0400
commit793fc77b160ae2bcaded23d22d7606c2ab499f0a (patch)
treedeb2dc4d1e1f4abd0148d0bf6b714865a2ffcdcc /test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
parent7f0787163999fc0ac0c6fcfd0c13f80c5a55266d (diff)
Add active user count
Diffstat (limited to 'test/pleroma/web/mastodon_api/controllers/status_controller_test.exs')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/status_controller_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
index a647cd57f..3c73eb514 100644
--- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@ -263,6 +263,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
fake_conn =
conn
+ |> assign(:user, refresh_record(conn.assigns.user))
|> put_req_header("content-type", "application/json")
|> post("/api/v1/statuses", %{
"status" =>