summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_controller_test.exs
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-09-11 15:16:49 -0400
committerlambadalambda <gitgud@rogerbraun.net>2017-09-11 15:16:49 -0400
commit2b21c05105d550d09d85807246be696a1aed4b32 (patch)
treed389818eff185ca584449f2fb47ad7c1254fa3af /test/web/twitter_api/twitter_api_controller_test.exs
parent95aa6a3c651fed9810889d3446f2a1d710efb55e (diff)
parentf0d41a3abf3e584c90c96644f73d533ea0680237 (diff)
downloadpleroma-2b21c05105d550d09d85807246be696a1aed4b32.tar.gz
pleroma-2b21c05105d550d09d85807246be696a1aed4b32.zip
Merge branch 'oauth2' into 'develop'
Mastodon API See merge request !27
Diffstat (limited to 'test/web/twitter_api/twitter_api_controller_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_controller_test.exs7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs
index 89b8c2eeb..2c89509ff 100644
--- a/test/web/twitter_api/twitter_api_controller_test.exs
+++ b/test/web/twitter_api/twitter_api_controller_test.exs
@@ -354,13 +354,6 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
request_path = "/api/statuses/retweet/#{note_activity.id}.json"
- user = Repo.get_by(User, ap_id: note_activity.data["actor"])
- response = conn
- |> with_credentials(user.nickname, "test")
- |> post(request_path)
- assert json_response(response, 400) == %{"error" => "You cannot repeat your own notice.",
- "request" => request_path}
-
response = conn
|> with_credentials(current_user.nickname, "test")
|> post(request_path)