move to 2.5.5
[anni] / test / pleroma / web / pleroma_api / views / chat_message_reference_view_test.exs
old mode 100644 (file)
new mode 100755 (executable)
index 017c9c5..7ab3f5a
@@ -24,7 +24,7 @@ defmodule Pleroma.Web.PleromaAPI.ChatMessageReferenceViewTest do
       filename: "an_image.jpg"
     }
 
-    {:ok, upload} = ActivityPub.upload(file, actor: user.ap_id)
+    {:ok, upload} = ActivityPub.upload(file, actor: recipient.ap_id)
 
     {:ok, activity} =
       CommonAPI.post_chat_message(user, recipient, "kippis :firefox:", idempotency_key: "123")