Show original status at the first of history

This commit is contained in:
Tusooa Zhu 2022-06-11 19:52:07 -04:00
commit 44613db853
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 6 additions and 7 deletions

View file

@ -2032,7 +2032,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
conn = get(conn, "/api/v1/statuses/#{activity.id}/history")
assert [_, %{"spoiler_text" => "title 2"}, %{"spoiler_text" => "title 1"}] =
assert [%{"spoiler_text" => "title 1"}, %{"spoiler_text" => "title 2"}, _] =
json_response_and_validate_schema(conn, 200)
end
end