1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

Test friends timeline more thoroughly.

This commit is contained in:
Roger Braun 2017-04-12 16:53:46 +02:00
parent 8eea09889b
commit 6a179a44be

View file

@ -93,6 +93,7 @@ test "fetch friends' statuses" do
assert length(statuses) == 2 assert length(statuses) == 2
assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user}) assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user})
assert Enum.at(statuses, 1) == ActivityRepresenter.to_map(direct_activity, %{user: activity_user, mentioned: [user]})
end end
test "fetch a single status" do test "fetch a single status" do