yyqdbngt opened a new pull request, #3589:
URL: https://github.com/apache/rocketmq-dashboard/pull/3589
### Summary
Deepens `AuthControllerTest` with the previously uncovered password change
endpoint, covering both the authenticated delegation and the unauthorized path.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/auth/AuthControllerTest.java`
- `changePasswordShouldDelegateForAuthenticatedUser`: the current/new
passwords reach `changePassword` with the resolved user id.
- `changePasswordShouldRejectUnauthenticatedRequest`: a missing session
yields 401 Unauthorized.
Suite grows from 9 to 11 tests.
### Testing
- `mvn -B test -Dtest=AuthControllerTest` passes (11 tests, all green).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]