1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-28 16:15:07 +01:00

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