进行了一些小优化

This commit is contained in:
2026-08-25 06:41:57 +08:00
parent 4c81980804
commit 9381d1ff53
6 changed files with 6 additions and 26 deletions
@@ -185,7 +185,7 @@ test('native user profile omits ledger tables and renders canonical images eager
assert.doesNotMatch(level, /Level::get_badge_html/);
});
test('identity status and public details are directly editable on the native profile', () => {
test('identity status, type, and name are directly editable on the native profile', () => {
const auth = read('src/User/AuthApply.php');
const transitions = read('src/Identity/TransitionService.php');
@@ -197,7 +197,7 @@ test('identity status and public details are directly editable on the native pro
assert.match(auth, /value="personal"[\s\S]*?个人认证/);
assert.match(auth, /value="enterprise"[\s\S]*?企业认证/);
assert.match(auth, /name="aksrt_identity_public_name"/);
assert.match(auth, /name="aksrt_identity_public_desc"/);
assert.match(auth, /姓名 \/ 主体全称/);
assert.match(auth, /name="aksrt_identity_status"/);
assert.match(auth, /'manual_pending' => __\('待审核'/);
assert.match(auth, /'verified' => __\('已认证'/);