fix(iam): scope customer nickname to customer management
This commit is contained in:
@@ -339,7 +339,7 @@ class TenantServiceTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void customerNicknameDefaultsToFirstChineseCharacterAndAcceptsManualValue() {
|
||||
void customerNicknameDefaultsToUppercasePinyinInitialsAndAcceptsManualValue() {
|
||||
assertEquals("SZWLYXGS", TenantService.resolveCustomerNickname(null, "ABC 深圳物流有限公司"));
|
||||
assertEquals("SZWL", TenantService.resolveCustomerNickname(null, "深圳物流"));
|
||||
assertEquals("A", TenantService.resolveCustomerNickname(" ", "ABC Logistics"));
|
||||
|
||||
Reference in New Issue
Block a user