From: Roger Braun Date: Wed, 12 Apr 2017 14:53:46 +0000 (+0200) Subject: Test friends timeline more thoroughly. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6a179a44bec113b8fb9a8092f791111a318e7a53;p=akkoma Test friends timeline more thoroughly. --- diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index dcb38b8b1..e8853a910 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -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