Skip to content

Commit

Permalink
Update src/test/java/com/fauna/e2e/E2EFeedsTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: James Rodewig <[email protected]>
  • Loading branch information
findgriffin and jrodewig authored Oct 25, 2024
1 parent 5fe2ef7 commit 1017f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/fauna/e2e/E2EFeedsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void setup() {

@Test
public void feedOfAll() {
FeedIterator<Product> iter = client.feed(fql("Product.all().toStream()"), productCollectionTs, Product.class);
FeedIterator<Product> iter = client.feed(fql("Product.all().eventSource()"), productCollectionTs, Product.class);
List<List<StreamEvent<Product>>> pages = new ArrayList<>();
iter.forEachRemaining(page -> pages.add(page.getEvents()));
assertEquals(4, pages.size());
Expand Down

0 comments on commit 1017f64

Please sign in to comment.