diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt b/src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt index 66148360c..4984d5f4d 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt @@ -698,5 +698,10 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder ) }, customerFiscalCode = null, // ApiOrder has empty string instead of null + discountInfo = order.discountInfo?.map { + it.copy( + appliesToItems = emptyList() + ) + } ) }