summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/pleroma/web/mastodon_api/controllers/status_controller_test.exs2
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 4e3d34172..69e087f37 100644
--- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@ -2191,7 +2191,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