copy(server): 刮削原因与登录提示补改;同步数据清理、整理守卫等断言

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-07 02:05:14 +08:00
1 parent 0019dc1afe
commit c7a7d7ec2c
8 files changed
+14 -14

No files matched your search

@@ -79,7 +79,7 @@ describe.skipIf(skip)("files 整理人工集号校验", () => {
items: [{ root: h.dlRoot, path: "Season", ...entity, season: 1, episodes: [2] }],
});
expect(r.status).toBe(400);
expect(r.body.error.message).toContain("目录项不能指定集号");
expect(r.body.error.message).toContain("目录不能指定集号");
expect(await facts()).toEqual(before);
});
@@ -116,6 +116,6 @@ describe.skipIf(skip)("files 整理人工集号校验", () => {
items: [{ root: h.dlRoot, path, mediaEntityId: film, season: 1, episodes: [2, 4] }],
});
expect(r.status).toBe(200);
expect(r.body.data.groups[0].warnings).toEqual([expect.stringMatching(/电影不适用季\/集覆写/)]);
expect(r.body.data.groups[0].warnings).toEqual([expect.stringMatching(/电影不用指定季集/)]);
});
});