-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Indicate user with valid E2EI certificate (WPB-3228) #2335
feat: Indicate user with valid E2EI certificate (WPB-3228) #2335
Conversation
Test Results2 452 tests - 366 2 385 ✔️ - 329 32s ⏱️ - 2m 28s Results for commit 4fb1908. ± Comparison against base commit 0696b8e. This pull request removes 2818 and adds 2452 tests. Note that renamed tests count towards both.
This pull request removes 104 skipped tests and adds 67 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Datadog ReportAll test runs ✅ 2 Total Test Services: 0 Failed, 2 Passed Test Services
|
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Show resolved
Hide resolved
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Outdated
Show resolved
Hide resolved
persistence/src/commonMain/db_user/com/wire/kalium/persistence/Conversations.sq
Outdated
Show resolved
Hide resolved
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2335 +/- ##
=============================================
- Coverage 58.49% 58.47% -0.03%
Complexity 21 21
=============================================
Files 1111 1114 +3
Lines 43597 43705 +108
Branches 4077 4083 +6
=============================================
+ Hits 25502 25555 +53
- Misses 16286 16340 +54
- Partials 1809 1810 +1
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Show resolved
Hide resolved
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM🛡️, just one last question!
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Show resolved
Hide resolved
...c/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
Show resolved
Hide resolved
class GetMembersE2EICertificateStatusesUseCaseTest { | ||
|
||
@Test | ||
fun givenErrorOnGettingMembersIdentities_thenEmptyMapResult() = runTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, can we follow the pattern given, when, then
?
What's new in this PR?
Issues
No way to get users E2EI certificate status (only for each client separately)
Causes (Optional)
Was not implemented
Solutions
Added 2 useCases:
UserId
(GetUserE2eiCertificateStatusUseCase
)ConversationId
(GetMembersE2EICertificateStatusesUseCase
)And Tests for these UseCases