Return target status in MastoAPI endpoint instead of reblog activity
This commit is contained in:
parent
d16877251a
commit
42279f54cf
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue