Merge branch 'mark-converstation-as-read-on-new-direct-message' into 'develop'
[akkoma] / test / web / mastodon_api / views / account_view_test.exs
index b7a4938a65996df0ea312bdd9381817aed0dc7b2..ad209b4a34d8d20e1e24fa502d9ba2a67a4f55e0 100644 (file)
@@ -424,8 +424,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
       other_user = insert(:user)
 
       {:ok, _activity} =
-        CommonAPI.post(user, %{
-          "status" => "Hey @#{other_user.nickname}.",
+        CommonAPI.post(other_user, %{
+          "status" => "Hey @#{user.nickname}.",
           "visibility" => "direct"
         })