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 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
assert length(statuses) == 2
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
test "fetch a single status" do