diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-10-31 17:57:26 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-10-31 17:57:26 +0100 |
commit | 0c871e5c6eb35d9d8c78cfdc83af869f312389b8 (patch) | |
tree | 8787ede47f1094cf38ec5baa2dbc23f266e9b964 /test/web/twitter_api/twitter_api_test.exs | |
parent | 44295dd49ad004b8c7a289387e913b1234ad1e61 (diff) | |
download | pleroma-0c871e5c6eb35d9d8c78cfdc83af869f312389b8.tar.gz pleroma-0c871e5c6eb35d9d8c78cfdc83af869f312389b8.zip |
Fix specs.
Diffstat (limited to 'test/web/twitter_api/twitter_api_test.exs')
-rw-r--r-- | test/web/twitter_api/twitter_api_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 1cf48dd4b..1ec9ef388 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -365,7 +365,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do {:ok, represented} = TwitterAPI.get_external_profile(user, id) remote = User.get_by_ap_id(id) - assert represented == UserView.render("show.json", %{user: remote, for: user}) + assert represented["id"] == UserView.render("show.json", %{user: remote, for: user})["id"] # Also fetches the feed. assert Activity.get_create_activity_by_object_ap_id("tag:mastodon.social,2017-04-05:objectId=1641750:objectType=Status") |