Skip to content

Commit 6148e9f

Browse files
ECWID-135200 Recurring subscription orders are created without Tax ID although it's presented in the initial order - added clarification
1 parent afcd1eb commit 6148e9f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,6 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder
697697
}
698698
)
699699
},
700-
customerFiscalCode = null,
700+
customerFiscalCode = null, // ApiOrder has empty string instead of null
701701
)
702702
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder
432432
val requestItem = order.items?.get(index)
433433
item.cleanupForComparison(requestItem)
434434
},
435-
customerFiscalCode = null,
435+
customerFiscalCode = null, // ApiOrder has empty string instead of null
436436
)
437437
}
438438

0 commit comments

Comments
 (0)