Skip to content

Commit afcd1eb

Browse files
ECWID-135200 Recurring subscription orders are created without Tax ID although it's presented in the initial order - added customerFiscalCode cleanup to tests
1 parent f1deb59 commit afcd1eb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder
696696
)
697697
}
698698
)
699-
}
699+
},
700+
customerFiscalCode = null,
700701
)
701702
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,8 @@ private fun UpdatedOrder.cleanupForComparison(order: UpdatedOrder): UpdatedOrder
431431
items = items?.mapIndexed { index, item ->
432432
val requestItem = order.items?.get(index)
433433
item.cleanupForComparison(requestItem)
434-
}
434+
},
435+
customerFiscalCode = null,
435436
)
436437
}
437438

0 commit comments

Comments
 (0)