Skip to content

Commit 88bb961

Browse files
ECWID-153267 - tests fix
1 parent ae4b874 commit 88bb961

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ data class FetchedOrder(
119119
val shippingLabelAvailableForShipment: Boolean = false,
120120
val loyalty: Loyalty? = null,
121121
val customerFiscalCode: String? = null,
122-
var lang: String? = null,
122+
val lang: String? = null,
123123

124124
) : ApiFetchedDTO, ApiResultDTO {
125125

src/test/kotlin/com/ecwid/apiclient/v3/entity/OrdersTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder
437437
it.copy(
438438
appliesToItems = null
439439
)
440-
}
440+
},
441+
lang = order.lang
441442
)
442443
}
443444

0 commit comments

Comments
 (0)