Skip to content

Commit

Permalink
Uncommented missed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDryga committed Jun 15, 2017
1 parent 1b69728 commit 3dbd261
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/requests/log_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ defmodule Annon.Requests.LogTest do
assert {[^request5, ^request4], _paging} =
Log.list_requests(%{}, %Paging{limit: 2})

# assert {[^request3, ^request2], _paging} =
# Log.list_requests(%{}, %Paging{limit: 2, cursors: %Cursors{starting_after: request4.id}})
# assert {[^request3, ^request2], _paging} =
# Log.list_requests(%{}, %Paging{limit: 2, cursors: %Cursors{ending_before: request1.id}})
assert {[^request3, ^request2], _paging} =
Log.list_requests(%{}, %Paging{limit: 2, cursors: %Cursors{starting_after: request4.id}})
assert {[^request3, ^request2], _paging} =
Log.list_requests(%{}, %Paging{limit: 2, cursors: %Cursors{ending_before: request1.id}})
end

test "paginates with filters" do
Expand Down

0 comments on commit 3dbd261

Please sign in to comment.