Skip to content

Commit

Permalink
Removing unneeded assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
adambollen committed Dec 17, 2024
1 parent cf7f2ed commit 5d33716
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/test/java/com/fauna/e2e/E2EFeedsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void manualFeed() {
// Handle page
FeedPage<Product> latestPage = pageFuture.join();
lastPageCursor = latestPage.getCursor();
System.out.println(lastPageCursor);
productUpdates.addAll(latestPage.getEvents());
pageCount++;

Expand All @@ -100,11 +101,6 @@ public void manualFeed() {
}
assertEquals(50, productUpdates.size());
assertEquals(25, pageCount);
// Because there is no filtering, these cursors are the same.
// If we filtered events, then the page cursor could be different from the cursor of the last element.
assertEquals(lastPageCursor,
productUpdates.get(productUpdates.size() - 1).getCursor());

}

@Test
Expand Down

0 comments on commit 5d33716

Please sign in to comment.