File tree Expand file tree Collapse file tree
src/test/kotlin/com/ecwid/apiclient/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff 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."
You can’t perform that action at this time.
0 commit comments