File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class PaginationScenarioTest : BunqSdkTestBase
4444 public void TestApiScenarioPaymentListingWithPagination ( )
4545 {
4646 EnsureEnoughPayments ( ) ;
47- var paymentsExpected = new HashSet < Payment > ( GetPaymentsRequired ( ) ) ;
47+ var paymentsExpected = new List < Payment > ( GetPaymentsRequired ( ) ) ;
4848 var paginationCountOnly = new Pagination
4949 {
5050 Count = PAYMENT_LISTING_PAGE_SIZE
@@ -56,9 +56,9 @@ public void TestApiScenarioPaymentListingWithPagination()
5656 var paginationPrevious = paymentResponsePrevious . Pagination ;
5757 var paymentResponsePreviousNext = ListPayments ( paginationPrevious . UrlParamsNextPage ) ;
5858
59- var paymentsActual = new HashSet < Payment > ( ) ;
60- paymentsActual . UnionWith ( paymentResponsePreviousNext . Value ) ;
61- paymentsActual . UnionWith ( paymentResponsePrevious . Value ) ;
59+ var paymentsActual = new List < Payment > ( ) ;
60+ paymentsActual . AddRange ( paymentResponsePreviousNext . Value ) ;
61+ paymentsActual . AddRange ( paymentResponsePrevious . Value ) ;
6262 var paymentsExpectedSerialized = BunqJsonConvert . SerializeObject ( paymentsExpected ) ;
6363 var paymentsActualSerialized = BunqJsonConvert . SerializeObject ( paymentsActual ) ;
6464
You can’t perform that action at this time.
0 commit comments