From bc74e27fc3a84945f746149a4199305e84767e4c Mon Sep 17 00:00:00 2001 From: winrok Date: Tue, 11 Jun 2024 11:19:24 +0400 Subject: [PATCH] ECWID-138834 fixed test after ECWID-115922 --- src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt | 5 +++++ 1 file changed, 5 insertions(+) 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() + ) + } ) }