1
0
mirror of https://github.com/bitwarden/server synced 2026-02-27 09:53:42 +00:00
Files
server/bitwarden_license/test
Jared d17d43cf7b [PM-19232] Implement externalId handling in PatchUserCommand with validation (#6998)
* Implement externalId handling in PatchUserCommand with validation and tests

* Change back for testing because we don't want to potentially stop code flow...

* Refactor PatchUserCommand and related tests to log warnings for unsupported operations instead of throwing exceptions. Update method names for clarity and adjust assertions in test cases accordingly.

* Refactor PatchUserCommand to streamline handling of active and externalId properties from value objects, consolidating logic for improved clarity and maintainability.

* Update bitwarden_license/test/Scim.Test/Users/PatchUserCommandTests.cs

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Fix formatting issue in PatchUserCommandTests.cs by removing invisible characters and ensuring proper code structure.

* Enhance PatchUserCommand to re-fetch user status after restore/revoke operations, ensuring accurate updates. Add corresponding test case to verify behavior when restoring users and updating externalId.

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-02-26 17:44:11 -05:00
..