1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-09-11 14:17:21 +01:00

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, %{