aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-29 13:45:50 +0200
committerlain <lain@soykaf.club>2020-04-29 13:45:50 +0200
commite055b8d2036e18a95d84f6f1db08fc465fe9975d (patch)
treedf8176461f0e1c1392b5d21c8e17e2600495873c /test
parent67659afe487def6bd4e0ccfbf8d015fda2a8ac61 (diff)
downloadpleroma-e055b8d2036e18a95d84f6f1db08fc465fe9975d.tar.gz
Pipeline: Always run common_pipeline in a transaction for now.
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/transmogrifier/chat_message_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/activity_pub/transmogrifier/chat_message_test.exs b/test/web/activity_pub/transmogrifier/chat_message_test.exs
index ceaee614c..c5600e84e 100644
--- a/test/web/activity_pub/transmogrifier/chat_message_test.exs
+++ b/test/web/activity_pub/transmogrifier/chat_message_test.exs
@@ -68,6 +68,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.ChatMessageTest do
recipient = insert(:user, ap_id: List.first(data["to"]), local: true)
{:ok, %Activity{} = activity} = Transmogrifier.handle_incoming(data)
+ assert activity.local == false
assert activity.actor == author.ap_id
assert activity.recipients == [recipient.ap_id, author.ap_id]