aboutsummaryrefslogtreecommitdiff
path: root/test/support/factory.ex
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-04-26 08:47:22 +0200
committerRoger Braun <roger@rogerbraun.net>2017-04-26 08:47:22 +0200
commitb91ccef2371fb0bbc23638b174e815dd7189482e (patch)
tree65b65b97c5dbbf927dbb33f5adbf22d9f479f026 /test/support/factory.ex
parentf980f6778b1447b808299fa9274854bb25f9823b (diff)
downloadpleroma-b91ccef2371fb0bbc23638b174e815dd7189482e.tar.gz
Output conversation id.
Diffstat (limited to 'test/support/factory.ex')
-rw-r--r--test/support/factory.ex6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index d7c16f0e0..d037be4a6 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -24,7 +24,8 @@ defmodule Pleroma.Factory do
"to" => ["https://www.w3.org/ns/activitystreams#Public"],
"published_at" => DateTime.utc_now() |> DateTime.to_iso8601,
"likes" => [],
- "like_count" => 0
+ "like_count" => 0,
+ "context" => "2hu"
}
%Pleroma.Object{
@@ -40,7 +41,8 @@ defmodule Pleroma.Factory do
"actor" => note.data["actor"],
"to" => note.data["to"],
"object" => note.data,
- "published_at" => DateTime.utc_now() |> DateTime.to_iso8601
+ "published_at" => DateTime.utc_now() |> DateTime.to_iso8601,
+ "context" => note.data["context"]
}
%Pleroma.Activity{