File tree Expand file tree Collapse file tree
src/test/kotlin/com/ecwid/apiclient/v3/entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.ecwid.apiclient.v3.entity
33import com.ecwid.apiclient.v3.converter.toUpdated
44import com.ecwid.apiclient.v3.dto.cart.request.*
55import com.ecwid.apiclient.v3.dto.cart.result.CalculateOrderDetailsResult
6+ import com.ecwid.apiclient.v3.dto.cart.result.CalculateOrderDetailsResult.DiscountInfo
67import com.ecwid.apiclient.v3.dto.order.enums.*
78import com.ecwid.apiclient.v3.dto.order.request.OrderCreateRequest
89import com.ecwid.apiclient.v3.dto.order.request.OrderDetailsRequest
@@ -352,7 +353,7 @@ class CartsTest : BaseEntityTest() {
352353 checkPersonsEquals(orderForCalculate.billingPerson, calculatedOrder.billingPerson)
353354 checkPersonsEquals(orderForCalculate.shippingPerson, calculatedOrder.shippingPerson)
354355 assertEquals(
355- null ,
356+ emptyList< DiscountInfo >() ,
356357 calculatedOrder.discountInfo
357358 ) // TODO Discover why after each calculation this field resets to null
358359 }
You can’t perform that action at this time.
0 commit comments