Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsullivan committed Jan 4, 2022
1 parent b8b8820 commit 907e235
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/paginator_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ defmodule PaginatorTest do
page = payments_by_charged_at() |> Repo.paginate(opts)
assert to_ids(page.entries) == to_ids([p5, p4, p1, p6])
assert page.metadata.before == nil
# Question: Should this return a value?
# assert page.metadata.before == encode_cursor(%{charged_at: p5.charged_at, id: p5.id})
assert page.metadata.after == encode_cursor(%{charged_at: p6.charged_at, id: p6.id})
assert page.metadata.has_previous_page == false
assert page.metadata.has_next_page == true
Expand Down

0 comments on commit 907e235

Please sign in to comment.