projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eea098
)
Test friends timeline more thoroughly.
author
Roger Braun
<roger@rogerbraun.net>
Wed, 12 Apr 2017 14:53:46 +0000
(16:53 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Wed, 12 Apr 2017 14:53:46 +0000
(16:53 +0200)
test/web/twitter_api/twitter_api_test.exs
patch
|
blob
|
history
diff --git
a/test/web/twitter_api/twitter_api_test.exs
b/test/web/twitter_api/twitter_api_test.exs
index dcb38b8b16995ea78cd32c8eabc7a9922e37a985..e8853a9100c249f05aaa98f2c06376ec09934398 100644
(file)
--- 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