From b7b4505abd659874313606ed16b0b1633cfabd51 Mon Sep 17 00:00:00 2001 From: Eric Sullivan Date: Tue, 4 Jan 2022 13:11:30 -0500 Subject: [PATCH] remove comment --- test/paginator_test.exs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/paginator_test.exs b/test/paginator_test.exs index 4a8d3f7..954faf1 100644 --- a/test/paginator_test.exs +++ b/test/paginator_test.exs @@ -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