mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 12:36:11 +00:00
Test friends timeline more thoroughly.
This commit is contained in:
parent
8eea09889b
commit
6a179a44be
|
@ -93,6 +93,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest 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
|
||||||
|
|
Loading…
Reference in a new issue