Conversation
…rganization users - Updated validation logic to allow organization users with Accepted status to reset their passwords or two-factor authentication. - Added unit tests to cover scenarios for Accepted users, ensuring correct validation behavior for account recovery requests.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR extends Code Review DetailsNo findings. Previous concerns about missing |
JimmyVo16
left a comment
There was a problem hiding this comment.
Looks good. Just need to fix the tests. It looks like there are some missing references.
… Xunit - Removed unused AutoFixture import and added NSubstitute and Xunit for improved testing capabilities. - Prepared the test file for enhanced unit testing of account recovery validation logic.
…anced test data generation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7579 +/- ##
=======================================
Coverage 59.83% 59.84%
=======================================
Files 2103 2103
Lines 92788 92789 +1
Branches 8266 8266
=======================================
+ Hits 55524 55525 +1
Misses 35294 35294
Partials 1970 1970 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35201
📔 Objective
Extends the states for password recovery to support the Accepted status