diff options
author | Francis Dinh <normandy@firemail.cc> | 2018-04-16 23:30:52 -0400 |
---|---|---|
committer | Francis Dinh <normandy@firemail.cc> | 2018-04-16 23:30:52 -0400 |
commit | 42279f54cfa6b1728f71de0a14cfde8e615141e7 (patch) | |
tree | f99f9eb83080012316a15bcf84572bf12a0b4190 /test | |
parent | d16877251a42545bfbef383b1a023aa029730c44 (diff) | |
download | pleroma-42279f54cfa6b1728f71de0a14cfde8e615141e7.tar.gz |
Return target status in MastoAPI endpoint instead of reblog activity
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 f3a9c1def..2a24037d7 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -276,7 +276,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do |> assign(:user, user) |> post("/api/v1/statuses/#{activity.id}/unreblog") - assert %{"reblog" => %{"id" => id, "reblogged" => false, "reblogs_count" => 0}} = + assert %{"id" => id, "reblogged" => false, "reblogs_count" => 0} = json_response(conn, 200) assert to_string(activity.id) == id |