Merge branch 'develop' into activation-meta
[akkoma] / test / web / mastodon_api / controllers / status_controller_test.exs
index 648e6f2ce54b50494cf32fa483c99b8e95e2fe48..a98e939e826ced48081a49a926aba488bb54d823 100644 (file)
@@ -1561,7 +1561,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
 
     # Using the header for pagination works correctly
     [next, _] = get_resp_header(result, "link") |> hd() |> String.split(", ")
-    [_, max_id] = Regex.run(~r/max_id=(.*)>;/, next)
+    [_, max_id] = Regex.run(~r/max_id=([^&]+)/, next)
 
     assert max_id == third_favorite.id