Skip to content

Commit 0d32e13

Browse files
ECWID-155668 Add "updateShippingOption" method to ecwid-java-api-client - (feat) update count of nullable properties in tests
1 parent ce1efe1 commit 0d32e13

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/kotlin/com/ecwid/apiclient/v3/DtoContractUnitTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,11 @@ class DtoContractUnitTest {
195195
@Test
196196
@Order(5)
197197
fun `test no new exclusions added to file NullablePropertyRules`() {
198+
val expectedNullablePropertiesCount = 931
198199
val ignoreNullablePropertiesCount = nullablePropertyRules
199200
.filterIsInstance<IgnoreNullable<*, *>>()
200201
.size
201-
assertEquals(976, ignoreNullablePropertiesCount) {
202+
assertEquals(expectedNullablePropertiesCount, ignoreNullablePropertiesCount) {
202203
"You MUST NOT add exclusion with type IgnoreNullable() which is used only for old fields until they are fixed.\n" +
203204
"Please make added property non-nullable if possible.\n" +
204205
"If Ecwid API sometimes return null as value for this property you CAN add it to as `AllowNullable()` exclusion type instead."

0 commit comments

Comments
 (0)