diff options
author | eal <eal@waifu.club> | 2017-10-29 00:07:38 +0300 |
---|---|---|
committer | eal <eal@waifu.club> | 2017-10-29 00:07:38 +0300 |
commit | c56d28f96c343d445ec8d06baf351423691036f3 (patch) | |
tree | 9b6c389f8df8ddabf8a44e96e715e1848134fe83 /test | |
parent | 8e94936553c978e5f0d3bb802a1932a6b505f86e (diff) | |
download | pleroma-c56d28f96c343d445ec8d06baf351423691036f3.tar.gz |
Fix return type of /api/v1/follows
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
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 |