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 7c1face commit 5fe2ef7
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 @@ -51,7 +51,7 @@ public void feedOfAll() {

@Test
public void feedError() {
FeedIterator<Product> iter = client.feed(fql("Product.all().toStream()"), 0L, Product.class);
FeedIterator<Product> iter = client.feed(fql("Product.all().eventSource()"), 0L, Product.class);
FeedSuccess<Product> pageOne = iter.next();
assertFalse(pageOne.hasNext());
assertEquals(1, pageOne.getEvents().size());
Expand Down

0 comments on commit 5fe2ef7

Please sign in to comment.