mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-02-21 12:55:44 +08:00
* [ISSUE #5]Different pages are displayed based on the user role. * Put the role judgment logic into js Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
This commit is contained in:
@@ -96,7 +96,7 @@ public class LoginControllerTest extends BaseControllerTest {
|
||||
.param("password", rightPwd);
|
||||
perform = mockMvc.perform(requestBuilder);
|
||||
perform.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.data").value(contextPath));
|
||||
.andExpect(jsonPath("$.data.contextPath").value(contextPath));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user