Skip to content

Commit

Permalink
To correct the attribute type and testing case mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyao-cofinity-x committed Nov 20, 2024
1 parent 31b3b23 commit 9526aac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ object BusinessPartnerVerboseValues {
const val businessStatusDescription1 = "Active"
const val businessStatusDescription2 = "Insolvent"

val externalSequenceTimestamp1 = "2024-06-28 11:59:00"
val externalSequenceTimestamp2 = "2024-06-28 12:00:00"
val externalSequenceTimestamp3 = "2024-06-28 12:01:00"
val externalSequenceTimestamp1 = Instant.now().minusSeconds(5)
val externalSequenceTimestamp2 = Instant.now()
val externalSequenceTimestamp3 = Instant.now().plusSeconds(5)

val businessStatusValidFrom1 = LocalDateTime.of(2020, 1, 1, 0, 0)
val businessStatusValidFrom2 = LocalDateTime.of(2019, 1, 1, 0, 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ data class BusinessPartnerInputDto(
override val legalEntity: LegalEntityRepresentationInputDto = LegalEntityRepresentationInputDto(),
override val site: SiteRepresentationInputDto = SiteRepresentationInputDto(),
override val address: AddressRepresentationInputDto = AddressRepresentationInputDto(),
override val externalSequenceTimestamp:String? = null,
override val externalSequenceTimestamp:Instant? = null,

@get:Schema(description = CommonDescription.createdAt)
val createdAt: Instant,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ data class BusinessPartnerOutputDto(
override val legalEntity: LegalEntityRepresentationOutputDto,
override val site: SiteRepresentationOutputDto?,
override val address: AddressComponentOutputDto,
override val externalSequenceTimestamp: String? = null,
override val externalSequenceTimestamp: Instant? = null,

@get:Schema(description = CommonDescription.createdAt)
val createdAt: Instant,
Expand Down

0 comments on commit 9526aac

Please sign in to comment.