fix: consolidated API: fix Mockito error#30182
Conversation
add junit tc for anonymous user access
WalkthroughWalkthroughThe updates involve fixing JUnit test cases for consolidated APIs, which previously failed on Enterprise Edition (EE) due to Mockito-related errors but worked on Community Edition (CE). The tests have been re-enabled after resolving these issues. Additionally, new test cases have been added to verify sub-API authorization for different user roles, such as anonymous users and API users. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Description
PR fixes following issue(s)
Fixes #29988
Type of change
Testing
How Has This Been Tested?
Test Plan
Issues raised during DP testing
Checklist:
Dev activity
QA activity:
Test Plan Approvedlabel after Cypress tests were reviewedTest Plan Approvedlabel after JUnit tests were reviewedSummary by CodeRabbit