-
Notifications
You must be signed in to change notification settings - Fork 186
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
Fix nightly reports #4235
Fix nightly reports #4235
Conversation
…e there is no validation in release mode. This is fixing the test in release mode.
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4235 +/- ##
===========================================
- Coverage 80.23% 80.23% -0.01%
===========================================
Files 2045 2045
Lines 54182 54184 +2
Branches 6576 6580 +4
===========================================
Hits 43473 43473
Misses 8434 8434
- Partials 2275 2277 +2 ☔ View full report in Codecov by Sentry. |
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.
Thanks!
return name.takeIf { it.isNotEmpty() } | ||
?.let { "#$it:${userIdServerName()}" } | ||
?.takeIf { MatrixPatterns.isRoomAlias(it) } | ||
?.let { tryOrNull { RoomAlias(it) } } |
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.
@ganfra do you agree with this change?
First commit is just moving test classes to the correct package.
Second commit fix the test in release mode:
./gradlew :features:roomdetails:impl:testReleaseUnitTest
was failing before this change because RoomAlias does not fail in release mode when the room alias is invalid.