Merge branch 'feat/allow_alt_text_search_config' into 'develop'
[akkoma] / test / pleroma / web / mastodon_api / controllers / status_controller_test.exs
index 7819bc4f079958388d3db13cf2dee81f1686a52f..dcd1e6d5b8bfa78fd1b12dc8e58168fa559dec25 100644 (file)
@@ -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" =>