diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-26 18:34:14 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-26 18:34:14 +0200 |
commit | 7561158ab15ee7d6e1112fecb1681c2d379cb7ff (patch) | |
tree | 9044476a41eae9f123295352e0d77b371f8afd1b /test/support | |
parent | c5fa682c317717c64168bf2d77b28d805ffff450 (diff) | |
parent | e8882ab3daa754aea8b2b1a96b7532c14530bbdc (diff) | |
download | pleroma-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.ex | 6 |
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{ |