forked from AkkomaGang/akkoma
ForForkMerge #2
1 changed files with 1 additions and 1 deletions
|
@ -1883,7 +1883,7 @@ test "favorites paginate correctly" 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue