You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 18:35:56 UTC
[PR] test: deepen AuthControllerTest with password change flows [rocketmq-dashboard]
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: deepen AuthControllerTest with password change flows [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3589: test: deepen AuthControllerTest with password change flows
URL: https://github.com/apache/rocketmq-dashboard/pull/3589
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org