docs(gateway): gateway 剩余文件注释改中文(逐行 1:1,代码零字节改动)
CI / Backend (build / vet / test / cross-compile) (push) Has been cancelled
CI / Frontend (tsc + vite build) (push) Has been cancelled

主人 2026-10-03 拍板「注释一律中文」;gateway 至此整包注释中文化完成(本会话共 3 批:
已推库 16 个文件 + 本批剩余文件)。
校验:机械校验(非注释改动行)= 空;剥注释后代码文本逐行比对全等(不一致文件数 0);
全树 go test ./... 58 包 ok / 0 FAIL;交叉编译绿。
This commit is contained in:
AskaEth committed 2026-10-03 22:28:25 +08:00
1 parent 91e8d7a029
commit 074ffc4ebf
73 files changed
+2529 -2529

No files matched your search

@@ -8,10 +8,10 @@ import (
"git.yeij.top/AskaEth/Cyrene_v2/internal/auth"
)
// TestAdminMissingStoreWritesHonest501 locks the B5 red line for the endpoints
// whose backing store does not exist yet: they must answer 501 not_implemented
// with an explanatory message, never a fabricated success. User creation has no
// user table/login to persist into, and IoT has no scenario/rule model or store.
// TestAdminMissingStoreWritesHonest501 为尚无后端存储的端点锁定 B5
// 红线:它们必须返回 501 not_implemented 并附说明性
// 消息,绝不编造成功。创建用户没有可持久化的用户表/登录,
// 而 IoT 没有场景/规则模型或存储。
func TestAdminMissingStoreWritesHonest501(t *testing.T) {
t.Parallel()
srv, ts, jwt := buildEnv(t, cfgDefault(), Deps{})