diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-11 19:52:07 -0400 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-11 19:52:07 -0400 |
commit | 44613db853226015207977ee958ebbf4d26f7c00 (patch) | |
tree | c9b8f38154ec60093d331f99706cecdada6872fe /test | |
parent | 95b39223281a61f3ee7d52776df2713952de3be0 (diff) | |
download | pleroma-44613db853226015207977ee958ebbf4d26f7c00.tar.gz pleroma-44613db853226015207977ee958ebbf4d26f7c00.zip |
Show original status at the first of history
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/status_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs index 04f1c17db..05c5d9ed5 100644 --- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs @@ -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 |