summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-04-26 18:34:14 +0200
committerRoger Braun <roger@rogerbraun.net>2017-04-26 18:34:14 +0200
commit7561158ab15ee7d6e1112fecb1681c2d379cb7ff (patch)
tree9044476a41eae9f123295352e0d77b371f8afd1b /test/support
parentc5fa682c317717c64168bf2d77b28d805ffff450 (diff)
parente8882ab3daa754aea8b2b1a96b7532c14530bbdc (diff)
downloadpleroma-7561158ab15ee7d6e1112fecb1681c2d379cb7ff.tar.gz
pleroma-7561158ab15ee7d6e1112fecb1681c2d379cb7ff.zip
Merge branch 'feature/incoming_ostatus' of ssh.gitgud.io:lambadalambda/pleroma into feature/incoming_ostatus
Diffstat (limited to 'test/support')
-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{