File tree 1 file changed +3
-3
lines changed
api/src/test/java/io/kafbat/ui/service/rbac
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ void isConnectAccessible_notAccessible() {
259
259
}
260
260
261
261
@ Test
262
- void isConnectAccessibleDto () {
262
+ void isConnectAccessible_connectDto () {
263
263
withSecurityContext (() -> {
264
264
when (user .groups ()).thenReturn (List .of (DEV_ROLE ));
265
265
ConnectDTO connectDto = ConnectDTO .builder ()
@@ -275,7 +275,7 @@ void isConnectAccessibleDto() {
275
275
}
276
276
277
277
@ Test
278
- void isConnectAccessibleDto_notAccessible () {
278
+ void isConnectAccessible_connectDto_notAccessible () {
279
279
withSecurityContext (() -> {
280
280
when (user .groups ()).thenReturn (List .of (DEV_ROLE ));
281
281
ConnectDTO connectDto = ConnectDTO .builder ()
@@ -291,7 +291,7 @@ void isConnectAccessibleDto_notAccessible() {
291
291
}
292
292
293
293
@ Test
294
- void getRoles () {
294
+ void testGetRoles () {
295
295
List <Role > roles = accessControlService .getRoles ();
296
296
assertThat (roles ).hasSize (2 )
297
297
.anyMatch (role -> role .getName ().equals (DEV_ROLE ))
You can’t perform that action at this time.
0 commit comments