projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'active-user-count' into 'develop'
[akkoma]
/
test
/
pleroma
/
web
/
mastodon_api
/
controllers
/
status_controller_test.exs
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 a647cd57fc3732c4be7773301ded9a7da8180daf..3c73eb514597637625adab4d36d5dbedfd64bf00 100644
(file)
--- 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" =>