Skip to content

Commit

Permalink
fix(gate): fix unit test legal entity error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsilva-CGI committed May 29, 2023
1 parent 53ef57e commit 0a7873b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

}

/**
Expand Down

0 comments on commit 0a7873b

Please sign in to comment.