diff --git a/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/LegalEntityControllerInputIT.kt b/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/LegalEntityControllerInputIT.kt index 8e200ab51..8a1a855a6 100644 --- a/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/LegalEntityControllerInputIT.kt +++ b/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/LegalEntityControllerInputIT.kt @@ -181,7 +181,9 @@ internal class LegalEntityControllerInputIT @Autowired constructor( gateClient.legalEntities().upsertLegalEntities(legalEntities) val legalEntity = gateClient.legalEntities().getLegalEntityByExternalId(CommonValues.externalId3) - assertThat(legalEntity).usingRecursiveComparison().isEqualTo(expectedLegalEntity) + assertThat(legalEntity).usingRecursiveComparison().ignoringCollectionOrder().ignoringAllOverriddenEquals() + .ignoringFieldsMatchingRegexes(".*processStartedAt*", ".*administrativeAreaLevel1*").isEqualTo(expectedLegalEntity) + } /**