fixup test
authorFrancis Dinh <normandy@firemail.cc>
Thu, 14 Jun 2018 01:45:27 +0000 (21:45 -0400)
committerFrancis Dinh <normandy@firemail.cc>
Thu, 14 Jun 2018 01:45:27 +0000 (21:45 -0400)
test/web/twitter_api/twitter_api_controller_test.exs

index 6866a362f3bd0f4e85fad1c5499cdd4e5683b4b1..197e35d133ab9e59f3c8284569f800dcc7e95dcc 100644 (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