Fix specs.

This commit is contained in:
Roger Braun 2017-10-31 17:57:26 +01:00
commit 0c871e5c6e
2 changed files with 9 additions and 9 deletions

View file

@ -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")