copy(server): 下载、整理、站点、浏览器、字幕等模块错误与提示文案重写
缓存卷 → 下载盘;站点快照 → 站点列表抓取;Feed → RSS;去掉猜测原因与「请…」;同步断言。 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
b752ce26f7
commit
0019dc1afe
51 files changed
+140
-142
No files matched your search
@@ -92,10 +92,10 @@ describe.skipIf(!hasPg)("W2-A 管理 API(真实 PG)", () => {
|
||||
expect((await json(await admin("GET", "/settings"))).data.cache.hardThresholdPercent).toBe(90);
|
||||
});
|
||||
|
||||
it("非法合并结果 → 422(恢复水位必须低于硬阈值)", async () => {
|
||||
it("非法合并结果 → 422(恢复线必须低于暂停线)", async () => {
|
||||
const r = await admin("PATCH", "/settings", { cache: { resumePercent: 95 } });
|
||||
expect(r.status).toBe(422);
|
||||
expect((await json(r)).error.message).toMatch(/恢复水位/);
|
||||
expect((await json(r)).error.message).toMatch(/恢复线/);
|
||||
});
|
||||
|
||||
it("旧 pi.apiKey / provider / model 不再接受:被丢弃,不建 secret,不改设置", async () => {
|
||||
|
||||
Reference in new issue
Block a user