Skip to content

Commit

Permalink
ECWID-138834 fixed test after ECWID-115922
Browse files Browse the repository at this point in the history
  • Loading branch information
winrokru committed Jun 11, 2024
1 parent 7f43d47 commit bc74e27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)
}
)
}

0 comments on commit bc74e27

Please sign in to comment.