File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
apps/app/src/test/scala/org/lfdecentralizedtrust/splice/integration/tests Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -73,20 +73,20 @@ trait WalletTxLogTestUtil extends TestCommon with WalletTestUtil with TimeTestUt
7373
7474 // ingestion can happen in-between the call `actual=listTransactions()` and the paginated ones,
7575 // so both need to be inside the same `eventually` block
76- clue( " Paginated result should be equal to non-paginated result " ) {
77- val paginatedResult = Iterator
78- .unfold[ Seq [ TxLogEntry ], Option [ String ]]( None )(beginAfterId => {
79- val page = wallet.listTransactions( beginAfterId, pageSize = 2 )
80- if (page.isEmpty )
81- None
82- else
83- Some (page -> Some (page.last.eventId))
84- } )
85- .toSeq
86- .flatten
87-
88- paginatedResult should contain theSameElementsInOrderAs actual
89- }
76+
77+ // Confirm that the paginated result is equal to the non-paginated result
78+ val paginatedResult = Iterator
79+ .unfold[ Seq [ TxLogEntry ], Option [ String ]]( None )( beginAfterId => {
80+ val page = wallet.listTransactions(beginAfterId, pageSize = 2 )
81+ if (page.isEmpty)
82+ None
83+ else
84+ Some (page -> Some (page.last.eventId) )
85+ })
86+ .toSeq
87+ .flatten
88+
89+ paginatedResult should contain theSameElementsInOrderAs actual
9090 }
9191 }
9292
You can’t perform that action at this time.
0 commit comments