[Integration-Test] Enhance pre-update profile action to support modifying user claims#27966
[Integration-Test] Enhance pre-update profile action to support modifying user claims#27966Lashen1227 wants to merge 1 commit into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



This pull request enhances the pre-update profile action integration tests by adding support for testing claim modification operations, expanding the test data and utility methods, and improving test coverage for user claim operations. The changes primarily focus on enabling more comprehensive testing of claim add, remove, and replace operations during the pre-update profile flow.
Enhancements to integration tests:
PreUpdateProfileActionSuccessTestCaseto use the new attribute list and a specialized mock response for claim modification operations.testActionResponseClaimModificationOperations, to verify that the pre-update profile action can correctly modify user claims, and implemented supporting assertion logic.Test data updates:
pre-update-profile-claim-modification-response.json, to simulate a variety of claim modification operations (add, remove, replace) in the pre-update profile flow.Related PRs