aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authoreal <eal@waifu.club>2017-10-29 00:07:38 +0300
committereal <eal@waifu.club>2017-10-29 00:07:38 +0300
commitc56d28f96c343d445ec8d06baf351423691036f3 (patch)
tree9b6c389f8df8ddabf8a44e96e715e1848134fe83 /test/web/mastodon_api
parent8e94936553c978e5f0d3bb802a1932a6b505f86e (diff)
downloadpleroma-c56d28f96c343d445ec8d06baf351423691036f3.tar.gz
Fix return type of /api/v1/follows
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs
index af2351706..4e5dc963f 100644
--- a/test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/test/web/mastodon_api/mastodon_api_controller_test.exs
@@ -287,7 +287,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|> assign(:user, user)
|> post("/api/v1/follows", %{"uri" => other_user.nickname})
- assert %{"id" => id, "following" => true} = json_response(conn, 200)
+ assert other_user = json_response(conn, 200)
end
test "unimplemented block/mute endpoints" do