1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-16 19:36:53 +01:00

Fix tests.

This commit is contained in:
Lain Iwakura 2017-12-05 12:18:04 +01:00
parent 74e92152b7
commit e7c2472abd

View File

@ -22,7 +22,8 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|> with_credentials(user.nickname, "test")
|> post("/api/account/verify_credentials.json")
assert json_response(conn, 200) == UserView.render("show.json", %{user: user})
assert response = json_response(conn, 200)
assert response == UserView.render("show.json", %{user: user, token: response["token"]})
end
end