Merge branch 'feature/optimize_rich_media_parser' into 'develop'
[akkoma] / test / web / mastodon_api / mastodon_api_controller_test.exs
index 9c5322ccb981f21edd43ffe64cdef2299a8e7609..fb04748bb447d04e4f9b6790a53ad4d28a760949 100644 (file)
@@ -752,7 +752,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
     query_string = "ids[]=#{id1}&ids[]=#{id2}"
     conn = get(conn, "/api/v1/statuses/?#{query_string}")
 
-    assert [%{"id" => ^id1}, %{"id" => ^id2}] = json_response(conn, :ok)
+    assert [%{"id" => ^id1}, %{"id" => ^id2}] = Enum.sort_by(json_response(conn, :ok), & &1["id"])
   end
 
   describe "deleting a status" do