diff options
author | Francis Dinh <normandy@firemail.cc> | 2018-06-13 21:45:27 -0400 |
---|---|---|
committer | Francis Dinh <normandy@firemail.cc> | 2018-06-13 21:45:27 -0400 |
commit | fc15f30a3c53860af35eb39c6893428df966fb96 (patch) | |
tree | 0aa30dcbe515400dbaa2eec36b35f3465dd004d3 | |
parent | 1555c66650967c5023b2a4f7a44a683d803091c6 (diff) | |
download | pleroma-fc15f30a3c53860af35eb39c6893428df966fb96.tar.gz |
fixup test
-rw-r--r-- | test/web/twitter_api/twitter_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 6866a362f..197e35d13 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -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 |