QPID-8350: [Tests][AMQP 1.0] Fix setting of flow next-incoming-id in OutcomeTest
diff --git a/systests/protocol-tests-amqp-1-0/src/test/java/org/apache/qpid/tests/protocol/v1_0/messaging/OutcomeTest.java b/systests/protocol-tests-amqp-1-0/src/test/java/org/apache/qpid/tests/protocol/v1_0/messaging/OutcomeTest.java
index fce9324..2ea7dda 100644
--- a/systests/protocol-tests-amqp-1-0/src/test/java/org/apache/qpid/tests/protocol/v1_0/messaging/OutcomeTest.java
+++ b/systests/protocol-tests-amqp-1-0/src/test/java/org/apache/qpid/tests/protocol/v1_0/messaging/OutcomeTest.java
@@ -75,6 +75,7 @@
                                                      .flowIncomingWindow(UnsignedInteger.ONE)
                                                      .flowLinkCredit(UnsignedInteger.ONE)
                                                      .flowHandleFromLinkHandle()
+                                                     .flowNextIncomingIdFromPeerLatestSessionBeginAndDeliveryCount()
                                                      .flow()
                                                      .receiveDelivery()
 
@@ -92,7 +93,7 @@
                        .disposition()
                        .flowIncomingWindow(UnsignedInteger.valueOf(2))
                        .flowLinkCredit(UnsignedInteger.valueOf(2))
-                       .flowNextIncomingIdFromLatestDelivery()
+                       .flowNextIncomingIdFromPeerLatestSessionBeginAndDeliveryCount()
                        .flow()
                        .receiveDelivery()
                        .decodeLatestDelivery();