Fix specs, add local marker to actitivies.
This commit is contained in:
parent
89c1e90eb2
commit
56bacc90d1
4 changed files with 15 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
|
|||
assert Enum.member?(get_in(activity.data, ["to"]), User.ap_followers(user))
|
||||
assert Enum.member?(get_in(activity.data, ["to"]), "https://www.w3.org/ns/activitystreams#Public")
|
||||
assert Enum.member?(get_in(activity.data, ["to"]), "shp")
|
||||
assert activity.local == true
|
||||
|
||||
# Add a context
|
||||
assert is_binary(get_in(activity.data, ["context"]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue