More fixes.

This commit is contained in:
lain 2018-05-20 19:26:09 +02:00
parent dca26f3655
commit 413de8e4bc

View file

@ -154,7 +154,8 @@ test "an activity" do
"tags" => ["nsfw", "content", "mentioning"], "tags" => ["nsfw", "content", "mentioning"],
"activity_type" => "post", "activity_type" => "post",
"possibly_sensitive" => true, "possibly_sensitive" => true,
"uri" => activity.data["object"]["id"] "uri" => activity.data["object"]["id"],
"visibility" => "direct"
} }
assert ActivityRepresenter.to_map(activity, %{ assert ActivityRepresenter.to_map(activity, %{