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 a5e841c commit 7c1face
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 @@ -63,7 +63,7 @@ public void feedError() {

@Test
public void feedFlattened() {
FeedIterator<Product> iter = client.feed(fql("Product.all().toStream()"), productCollectionTs, Product.class);
FeedIterator<Product> iter = client.feed(fql("Product.all().eventSource()"), productCollectionTs, Product.class);
Iterator<StreamEvent<Product>> productIter = iter.flatten();
List<StreamEvent<Product>> products = new ArrayList<>();
// Java iterators not being iterable (or useable in a for-each loop) is annoying.
Expand Down

0 comments on commit 7c1face

Please sign in to comment.