fixup test

This commit is contained in:
Francis Dinh 2018-06-13 21:45:27 -04:00
parent 1555c66650
commit fc15f30a3c

View File

@ -585,7 +585,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
test "without valid credentials", %{conn: conn} do
note_activity = insert(:note_activity)
conn = post(conn, "/api/statuses/retweet/#{note_activity.id}.json")
conn = post(conn, "/api/statuses/unretweet/#{note_activity.id}.json")
assert json_response(conn, 403) == %{"error" => "Invalid credentials."}
end