Skip to content

Commit

Permalink
ECWID-138159: fix test by allowing 'customSlug' field to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
carlecwid committed Jul 4, 2024
1 parent 4131a68 commit 279594e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import com.ecwid.apiclient.v3.dto.order.result.DeletedOrder
import com.ecwid.apiclient.v3.dto.payment.PaymentAppRequest
import com.ecwid.apiclient.v3.dto.product.request.ProductInventoryUpdateRequest
import com.ecwid.apiclient.v3.dto.product.request.ProductUpdateRequest
import com.ecwid.apiclient.v3.dto.product.result.FetchedProduct
import com.ecwid.apiclient.v3.dto.product.result.GetProductFiltersResult
import com.ecwid.apiclient.v3.dto.product.result.ProductInventoryUpdateResult
import com.ecwid.apiclient.v3.dto.productreview.request.UpdatedProductReviewStatus
Expand Down Expand Up @@ -41,6 +42,8 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
IgnoreNullable(GetEscapedBatchResult::responses),
IgnoreNullable(GetTypedBatchResult::responses),

AllowNullable(FetchedProduct::customSlug),

AllowNullable(GetProductFiltersResult.ProductFilters::attributes),
AllowNullable(GetProductFiltersResult.ProductFilters::categories),
AllowNullable(GetProductFiltersResult.ProductFilters::inventory),
Expand Down

0 comments on commit 279594e

Please sign in to comment.