fixup test
This commit is contained in:
parent
1555c66650
commit
fc15f30a3c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue