Skip to content

Commit

Permalink
Merge branch 'release/candidate' into feat/allow-creating-mls-convers…
Browse files Browse the repository at this point in the history
…ations-with-partial-success
  • Loading branch information
vitorhugods authored Mar 11, 2024
2 parents b0a11c6 + 6f2869d commit 60a075c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ data class WireIdentity(
val status: CryptoCertificateStatus,
val thumbprint: String,
val serialNumber: String,
val endTimestamp: Long
val endTimestampSeconds: Long
)

enum class CryptoCertificateStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ data class E2eiCertificate(
status = certificateStatusMapper.toCertificateStatus(identity.status),
serialNumber = identity.serialNumber,
certificateDetail = identity.certificate,
endAt = Instant.fromEpochMilliseconds(identity.endTimestamp)
endAt = Instant.fromEpochSeconds(identity.endTimestampSeconds)
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,7 @@ class MLSConversationRepositoryTest {
CryptoCertificateStatus.VALID,
thumbprint = "thumbprint",
serialNumber = "serialNumber",
endTimestamp = 1899105093
endTimestampSeconds = 1899105093
)
val E2EI_CONVERSATION_CLIENT_INFO_ENTITY =
E2EIConversationClientInfoEntity(UserIDEntity(uuid4().toString(), "domain.com"), "clientId", "groupId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class MLSConversationsVerificationStatusesHandlerTest {
serialNumber = "serial1",
status = CryptoCertificateStatus.VALID,
thumbprint = "thumbprint1",
endTimestamp = 0L
endTimestampSeconds = 0L
)
),
user2.first.toModel() to listOf(
Expand All @@ -200,7 +200,7 @@ class MLSConversationsVerificationStatusesHandlerTest {
serialNumber = "serial2",
status = CryptoCertificateStatus.VALID,
thumbprint = "thumbprint2",
endTimestamp = 0L
endTimestampSeconds = 0L
)
)
)
Expand Down Expand Up @@ -256,7 +256,7 @@ class MLSConversationsVerificationStatusesHandlerTest {
serialNumber = "serial1",
status = CryptoCertificateStatus.VALID,
thumbprint = "thumbprint1",
endTimestamp = 0L
endTimestampSeconds = 0L
)
),
user2.first.toModel() to listOf(
Expand All @@ -272,7 +272,7 @@ class MLSConversationsVerificationStatusesHandlerTest {
serialNumber = "serial2",
status = CryptoCertificateStatus.VALID,
thumbprint = "thumbprint2",
endTimestamp = 0L
endTimestampSeconds = 0L
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class GetE2eiCertificateUseCaseTest {
status = CryptoCertificateStatus.EXPIRED,
thumbprint = "thumbprint",
serialNumber = "serialNumber",
endTimestamp = 1899105093
endTimestampSeconds = 1899105093
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class GetMembersE2EICertificateStatusesUseCaseTest {
CryptoCertificateStatus.VALID,
"thumbprint",
"serialNumber",
endTimestamp = 1899105093
endTimestampSeconds = 1899105093
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class GetUserE2eiAllCertificateStatusesUseCaseTest {
CryptoCertificateStatus.VALID,
"thumbprint",
serialNumber = "serialNumber",
endTimestamp = 1899105093
endTimestampSeconds = 1899105093
)
}
}

0 comments on commit 60a075c

Please sign in to comment.