aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-02 10:47:04 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-02 10:47:04 +0200
commit6dd8335477ff3adc2dda5fe4e45b0e1b38dc5b9b (patch)
tree50c7ac546149f48138bd1809942528a412b73155 /test
parent56bacc90d1f401f8867e4ca7a052f7d15e18a304 (diff)
downloadpleroma-6dd8335477ff3adc2dda5fe4e45b0e1b38dc5b9b.tar.gz
Mark incoming activties as non-local.
Diffstat (limited to 'test')
-rw-r--r--test/web/ostatus/ostatus_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs
index 4e7e401cd..3951dbc9c 100644
--- a/test/web/ostatus/ostatus_test.exs
+++ b/test/web/ostatus/ostatus_test.exs
@@ -18,6 +18,7 @@ defmodule Pleroma.Web.OStatusTest do
assert activity.data["published"] == "2017-04-23T14:51:03+00:00"
assert activity.data["context"] == "tag:gs.example.org:4040,2017-04-23:objectType=thread:nonce=f09e22f58abd5c7b"
assert "http://pleroma.example.org:4000/users/lain3" in activity.data["to"]
+ assert activity.local == false
end
test "handle incoming notes - GS, subscription" do