Skip to content

Commit 838f264

Browse files
committed
ut name
1 parent d1ac242 commit 838f264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void shouldHideConfigToCurrentUser_userIsNotAppAdmin() {
158158
}
159159

160160
@Test
161-
void shouldHideConfigToCurrentUser_userHasNoPermission() {
161+
void shouldHideConfigToCurrentUser_configViewNotMemberOnly() {
162162
when(portalConfig.isConfigViewMemberOnly(ENV)).thenReturn(false);
163163
assertThat(validator.shouldHideConfigToCurrentUser(APP_ID, ENV, CLUSTER, NAMESPACE)).isFalse();
164164
}

0 commit comments

Comments
 (0)