Commit fc15f30a authored by normandy's avatar normandy

fixup test

parent 1555c666
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment