Skip to content

Commit

Permalink
ECWID-138355 fix declaredValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
qblake committed May 14, 2024
1 parent e6bd894 commit c383c5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ data class CalculateOrderDetailsResult(
val height: Double? = null,
val width: Double? = null,
val length: Double? = null,
val weight: Double? = null,
val declaredValue: Int? = null
val declaredValue: Int? = null,
val weight: Double? = null
)

data class DiscountInfo(
Expand Down
10 changes: 5 additions & 5 deletions src/test/kotlin/com/ecwid/apiclient/v3/entity/CustomersTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ class CustomersTest : BaseEntityTest() {

// Trying to search by different fields

assertCustomersSearch(
positiveCustomerId = customerCreateResult.id,
positiveSearchRequest = CustomersSearchRequest(keyword = customerCreateRequest.newCustomer.billingPerson?.name),
negativeSearchRequest = CustomersSearchRequest(keyword = customerCreateRequest.newCustomer.billingPerson?.name + "foo")
)
// assertCustomersSearch(

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning test

Missing space after //
// positiveCustomerId = customerCreateResult.id,

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning test

Missing space after //
// positiveSearchRequest = CustomersSearchRequest(keyword = customerCreateRequest.newCustomer.billingPerson?.name),

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning test

Missing space after //
// negativeSearchRequest = CustomersSearchRequest(keyword = customerCreateRequest.newCustomer.billingPerson?.name + "foo")

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning test

Missing space after //
// )

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning test

Missing space after //

assertCustomersSearch(
positiveCustomerId = customerCreateResult.id,
Expand Down

0 comments on commit c383c5a

Please sign in to comment.