Skip to content

Commit de5b0c0

Browse files
committed
ECWID-99676 Delivery timeframes: new import/export - фикс теста
1 parent 18e1678 commit de5b0c0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/test/kotlin/com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import com.ecwid.apiclient.v3.dto.variation.request.ProductVariationsRequest
1414
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.AllowNullable
1515
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.IgnoreNullable
1616
import com.ecwid.apiclient.v3.rule.nullablepropertyrules.*
17+
import com.ecwid.apiclient.v3.dto.product.result.FetchedProduct
1718
import kotlin.reflect.KProperty1
1819

1920
val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
@@ -35,6 +36,9 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
3536
AllowNullable(GetProductFiltersResult.ProductFilters::onsale),
3637
AllowNullable(GetProductFiltersResult.ProductFilters::options),
3738
AllowNullable(GetProductFiltersResult.ProductFilters::price),
39+
AllowNullable(FetchedProduct.ShippingPreparationTime::pickupPreparationTimeForInStockItemInMinutes),
40+
AllowNullable(FetchedProduct.ShippingPreparationTime::shippingPreparationTimeForInStockItemDays),
41+
AllowNullable(FetchedProduct.ShippingPreparationTime::shippingPreparationTimeForOutOfStockItemDays),
3842

3943
IgnoreNullable(ConvertCartToOrderResult::id),
4044
IgnoreNullable(ConvertCartToOrderResult::orderNumber),

0 commit comments

Comments
 (0)