빙의 군주의 외교권자 임명 권한을 복구

This commit is contained in:
2026-09-23 04:35:44 +00:00
parent 99a831b251
commit 7e9cde3592
5 changed files with 38 additions and 4 deletions
@@ -591,6 +591,11 @@ describeDb('scenario database seed', () => {
]);
expect(nationCount).toBe(seed.nations.length);
const seededRuler = seed.generals.find((general) => general.officerLevel === 12 && general.nationId > 0);
expect(seededRuler).toBeDefined();
expect(
(await connector.prisma.nation.findUnique({ where: { id: seededRuler!.nationId } }))?.chiefGeneralId
).toBe(seededRuler!.id);
expect(cityCount).toBe(seed.cities.length);
expect(generalCount).toBe(seed.generals.length);
expect(diplomacyCount).toBe(seed.nations.length * Math.max(0, seed.nations.length - 1));