빙의 군주의 외교권자 임명 권한을 복구
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user