summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-11-09 10:41:19 +0100
committerRoger Braun <roger@rogerbraun.net>2017-11-09 10:41:19 +0100
commitf1d27a5fbbe547a78f835bd65b43a652004d708e (patch)
tree53fd646d727584cb54dc1dfd56b137b01567ff4e /test/web/activity_pub
parent41b8a76e969e97aef68e7be1f1cdadcb31ea9b1d (diff)
downloadpleroma-f1d27a5fbbe547a78f835bd65b43a652004d708e.tar.gz
pleroma-f1d27a5fbbe547a78f835bd65b43a652004d708e.zip
Add actor column to activities.
Diffstat (limited to 'test/web/activity_pub')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index 2cd33d623..f50509b63 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -52,6 +52,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
test "removes doubled 'to' recipients" do
{:ok, activity} = ActivityPub.create(["user1", "user1", "user2"], %User{ap_id: "1"}, "", %{})
assert activity.data["to"] == ["user1", "user2"]
+ assert activity.actor == "1"
end
end